nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 571676eb853449e5782cbd0d7e080b01e4516e78
parent 9e71de12cd3da7e8af8b467730182e7cb8368286
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sun,  9 Sep 2018 08:31:17 +0200

docs: improve a comment about rebinding <Backspace>

And move it up, to give the now-final comment a bit more prominence.

Diffstat:
Mdoc/sample.nanorc.in | 11++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/doc/sample.nanorc.in b/doc/sample.nanorc.in @@ -255,14 +255,18 @@ ## ".nanorc" extension) should be the same as the "short description" ## name inside that file. These names are kept fairly short to make ## them easier to remember and faster to type using nano's -Y option. -## + ## To include all existing syntax definitions, you can do: # include "@PKGDATADIR@/*.nanorc" ## Key bindings. ## See nanorc(5) (section REBINDING KEYS) for more details on this. -## + +## If your Backspace key behaves as Delete (when ssh'ing in from another +## machine, for example), set this to make it behave as Backspace again: +# bind Del backspace all + ## The <Ctrl+Delete> keystroke deletes the word to the right of the cursor. ## On some terminals the <Ctrl+Backspace> keystroke produces ^H, which is ## the ASCII character for backspace, so it is bound by default to the @@ -271,6 +275,3 @@ ## normally use <Backspace> for backspacing and not ^H, you can make ## <Ctrl+Backspace> delete the word to the left of the cursor with: # bind ^H cutwordleft main - -## Set this if your Backspace key sends Del most of the time. -# bind Del backspace all