Created
November 20, 2017 12:01
-
-
Save Herteby/148b858a367baf96d38f776234af500a to your computer and use it in GitHub Desktop.
Modern keybindings etc. for nano
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set morespace | |
set multibuffer | |
#set nohelp # perhaps comment out until comfortable | |
set quickblank | |
set regexp | |
set smooth | |
set suspend | |
set tabsize 2 | |
unbind ^K main | |
unbind ^U main | |
unbind ^W main | |
bind ^O insert main | |
bind ^S writeout main | |
bind ^Q exit main | |
bind ^A help main | |
bind ^P prevword main | |
bind ^N nextword main | |
bind ^B firstline main | |
bind ^E lastline main | |
bind ^L curpos main | |
bind ^J gotoline main | |
bind ^Space mark main | |
bind ^X cut main | |
bind ^C copytext main | |
bind ^V uncut main | |
bind ^F whereis main | |
bind ^G searchagain main | |
bind ^H replace main | |
bind ^Z undo main | |
bind ^Y redo main | |
bind M-A nohelp main | |
bind M-L constupdate main | |
bind M-Z suspend main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I like your config. But plz update the keybinding notations, as they got changed as per latest nano man page...
copytext > copy
uncut > paste
searchagain > findnext
nuke "set smooth", M-A nohelp main, M-L constupdate main