From 33d67d5ceee1bbeb08c31ee71eba122a26a5a41b Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Mon, 8 Oct 2018 21:14:49 +0200 Subject: [PATCH] docs: give suggestions for alternative key bindings in the sample nanorc --- doc/sample.nanorc.in | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/doc/sample.nanorc.in b/doc/sample.nanorc.in index 86c7587b..455a69b7 100644 --- a/doc/sample.nanorc.in +++ b/doc/sample.nanorc.in @@ -270,3 +270,35 @@ ## normally use for backspacing and not ^H, you can make ## delete the word to the left of the cursor with: # bind ^H cutwordleft main + +## If you would like nano to have keybindings that are more "usual", +## such as ^O for Open, ^F for Find, ^H for Help, and ^Q for Quit, +## then uncomment these: +#bind ^Q exit all +#bind ^H help all +#bind ^H exit help +#bind ^F whereis all +#bind ^G findnext all +#bind ^B wherewas all +#bind ^D findprevious all +#bind ^R replace main +#bind ^W writeout main +#bind ^O insert main +#unbind ^V all +#unbind ^Y all +#bind M-X flipnewbuffer all +#bind ^X cut all +#bind ^C copy all +#bind ^V paste all +#bind ^P curpos main +#bind ^T gotoline main +#bind ^T gotodir browser +#bind ^Y speller main +#unbind ^K all +#unbind ^U all +#bind M-R redo main +#bind ^U undo main +#bind ^E redo main +#unbind M-J main +#unbind M-T main +#set multibuffer