чување fbf11f2b50bda1d9e1320321279a03b80b039d55
родитељ b8fb6e4a5a84411da6c9582628d78ce2b2cc2288
Аутор: Страхиња Радић <contact@strahinja.org>
Датум: Mon, 14 Feb 2022 12:57:54 +0100
README: Add Q&A
Signed-off-by: Страхиња Радић <contact@strahinja.org>
Diffstat:
| M | README | | | 31 | +++++++++++++++++++++++++++++++ |
измењених датотека: 1, додавања: 31(+), брисања: 0(-)
diff --git a/README b/README
@@ -5,6 +5,37 @@ Currently not yet functional. In the process of reusing code from poe[1].
[1]: https://sr.ht/~strahinja/poe
+
+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
+ one is not allowed to write to with an editor like vi(1), only to have write
+ operation denied after making numerous edits.
+
+ Of course, one could argue that screen editors like vi already double as
+ text file viewers, but I think of displaying the contents of a writable file
+ as separate from displaying the contents of a non-writable file.
+
+Q: Is editing multiple files planned?
+A: No, this is by design. You can edit multiple files at the same time by
+ running multiple instances of sled. You can arrange them on screen through a
+ terminal multiplexer like GNU screen(1) or tmux(1), or just open several
+ terminal emulators like st(1) and have your window manager arrange their
+ windows. Clipboard can be managed by a terminal multiplexer or X.Org itself.
+
+Q: Is there a ~/.config/sled/config or ~/.sledrc?
+A: No, and never will be. sled is intended to be configured through editing
+ config.h and recompilation, like suckless software.
+
+Q: Are plugins planned?
+A: No. Like suckless software, sled is meant to be extended through patches.
+
+Q: How can I configure sled, I've installed it (from AUR|through my distro's
+ package manager)?
+A: You don't. If you want customization/configuration, clone the git repo,
+ customize and compile it from source, just like with suckless software.
+
+
License
-------