feat(system): configure nano (-FEDSMAGic/max%_T2) as EDITOR, less -RXF as PAGER, add ed/rlwrap/less, and remove vim
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
# Bananarchy Linux system-wide nano configuration
|
||||
# Equivalent to: nano -FEDSMAGic/max%_T2
|
||||
|
||||
set newbuffer
|
||||
set tabstospaces
|
||||
set boldtext
|
||||
set softwrap
|
||||
set trimblanks
|
||||
set smarthome
|
||||
set locking
|
||||
set autoindent
|
||||
set constantshow
|
||||
set mouse
|
||||
set atblanks
|
||||
set nohelp
|
||||
set stateflags
|
||||
set minibar
|
||||
set tabsize 2
|
||||
|
||||
# Modern keybindings (-/ / --modernbindings)
|
||||
bind ^X cut main
|
||||
bind ^C copy main
|
||||
bind ^V paste all
|
||||
bind ^Q exit all
|
||||
bind ^S savefile main
|
||||
bind ^W writeout main
|
||||
bind ^O insert main
|
||||
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
|
||||
unbind ^U all
|
||||
unbind ^N main
|
||||
unbind ^Y all
|
||||
unbind M-J main
|
||||
unbind M-T main
|
||||
bind ^A mark main
|
||||
bind ^P location main
|
||||
bind ^T gotoline main
|
||||
bind ^T gotodir browser
|
||||
bind ^T cutrestoffile execute
|
||||
bind ^L linter execute
|
||||
bind ^E execute main
|
||||
bind ^K "{mark}{end}{zap}" main
|
||||
bind ^U "{mark}{home}{zap}" main
|
||||
bind ^Z undo main
|
||||
bind ^Y redo main
|
||||
Reference in New Issue
Block a user