config/.nanorc

79 lines
1.8 KiB
Plaintext

#
# zvava's nanorc
# @zvava@mk.catgirlsfor.science
#
# appearance
set tabsize 4
set errorcolor red,normal
set numbercolor gray,normal
set scrollercolor white,normal
set selectedcolor black,lightmagenta
set stripecolor lightmagenta,gray
set guidestripe 80
# syntax highlighting
include ~/.config/nano/*.nanorc
include /usr/share/nano/*.nanorc
include /usr/share/nano-syntax-highlighting/*.nanorc
# toggles
# todo: sort, categorize
set afterends
set atblanks
set autoindent
set backup
set backupdir ~/.config/nano/.backups
set boldtext
unset breaklonglines
set casesensitive
unset cutfromcursor
set zero
set historylog
set linenumbers
set mouse
set indicator
unset noconvert
set nohelp
unset nonewlines
set trimblanks
set positionlog
set regexp
set smarthome
set softwrap
unset tabstospaces
unset wordbounds
set whitespace "»⋅"
set wordchars '
set zap
# keymap
# taken and uncommented from lines 279-305 of /etc/nanorc
bind ^Q exit all
bind M-Q cancel 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 ^T gotoline main
bind ^T gotodir browser
bind ^Y speller main
unbind ^K all
unbind ^U all
bind M-R redo main
bind ^Z undo main
bind ^Y redo main
unbind M-J main
unbind M-T main