чување 50ea3360bfc4a30302b65f21de99507106907eb6
родитељ 05ccdb5f6d35d9ade1941772cf75a6c30edee02e
Аутор: Страхиња Радић <contact@strahinja.org>
Датум: Mon, 6 Mar 2023 20:06:05 +0100
README: Add item to Q&A, add description of BACKUP_FAIL_OK
Signed-off-by: Страхиња Радић <contact@strahinja.org>
Diffstat:
измењених датотека: 1, додавања: 10(+), брисања: 1(-)
diff --git a/README b/README
@@ -7,6 +7,15 @@ For installation instructions, see the file INSTALL.
Q&A
---
+Q: Why?
+A: - Because newcomers don't find vi(m) comfortable. Something akin to EDIT.COM
+ is usually perceived as more familiar: type text straight away, C-S to
+ save, then C-Q. (Sled still has vim-like behavior, but it is "reverse" -
+ default is insert mode, from which you can enter command mode.)
+ - Because nano/joe are still relatively complicated.
+ - As an exercise in programming in C, and to create an editor to my own
+ liking, closer to suckless principles.
+
Q: Why can't sled open the file "read only" even if modification is disallowed?
A: A text editor's purpose should be to *edit* text files. For just *viewing*
text files, there's less(1). This avoids the situation when opening a file
@@ -47,7 +56,7 @@ A: You don't. If you want customization/configuration, clone the git repo,
Q: Why am I getting a "Permission denied" when trying to edit a file?
A: You either can't access the directory for writing (and haven't disabled
- the creation of backups), or the file itself.
+ the creation of backups nor set BACKUP_FAIL_OK), or the file itself.
License