docs: improve a comment about rebinding <Backspace>

And move it up, to give the now-final comment a bit more prominence.
This commit is contained in:
Benno Schulenberg 2018-09-09 08:31:17 +02:00
parent 9e71de12cd
commit 571676eb85

View File

@ -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