From 571676eb853449e5782cbd0d7e080b01e4516e78 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 9 Sep 2018 08:31:17 +0200 Subject: [PATCH] docs: improve a comment about rebinding And move it up, to give the now-final comment a bit more prominence. --- doc/sample.nanorc.in | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/doc/sample.nanorc.in b/doc/sample.nanorc.in index c5d0f60c..c78ec5e2 100644 --- 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 keystroke deletes the word to the right of the cursor. ## On some terminals the keystroke produces ^H, which is ## the ASCII character for backspace, so it is bound by default to the @@ -271,6 +275,3 @@ ## normally use for backspacing and not ^H, you can make ## 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