GENESIS
This commit is contained in:
commit
702a75879d
1 changed files with 2630 additions and 0 deletions
80
nano/.nanorc
Normal file
80
nano/.nanorc
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
# load syntax highlighting files
|
||||
include "~/.config/nano/*.nanorc"
|
||||
|
||||
# nano preferences (alphabetical)
|
||||
set atblanks
|
||||
set autoindent
|
||||
set casesensitive
|
||||
set constantshow
|
||||
set cutfromcursor
|
||||
set jumpyscrolling
|
||||
set keycolor normal,normal
|
||||
set minibar
|
||||
set mouse
|
||||
set newbuffer
|
||||
set nohelp
|
||||
set numbercolor italic,lightblack,normal
|
||||
set promptcolor black,lightyellow
|
||||
set stateflags
|
||||
set smarthome
|
||||
set softwrap
|
||||
set tabsize 4
|
||||
set tabstospaces
|
||||
set trimblanks
|
||||
|
||||
# search keybinds: editor
|
||||
unbind ^S main
|
||||
bind ^S whereis main
|
||||
bind Sh-M-F findnext main
|
||||
bind Sh-M-B findprevious main
|
||||
|
||||
# search keybinds: file browser
|
||||
unbind ^S browser
|
||||
bind ^S whereis browser
|
||||
bind Sh-M-F findnext browser
|
||||
bind Sh-M-B findprevious browser
|
||||
|
||||
# text copying (killing) from editor
|
||||
unbind M-K main
|
||||
bind M-K copy main
|
||||
bind Sh-M-K cutfromcursor main
|
||||
|
||||
# copy from editor into system (Wayland) clipboard
|
||||
bind Sh-M-C "{execute}| wl-copy > /dev/null 2>&1 {enter}{exit}n" main
|
||||
|
||||
# insert lambda into editor
|
||||
unbind ^\ main
|
||||
bind ^\ "λ" main
|
||||
|
||||
# redo keybind
|
||||
bind Sh-M-U redo main
|
||||
|
||||
# editor cursor navigation by block
|
||||
unbind M-A main
|
||||
unbind M-E main
|
||||
bind M-A beginpara main
|
||||
bind M-E endpara main
|
||||
bind M-( beginpara main
|
||||
bind M-) endpara main
|
||||
|
||||
# text marking keybind
|
||||
bind ^Space mark main
|
||||
|
||||
# center/raise/lower cursor position in editor
|
||||
unbind ^L main
|
||||
bind ^L cycle main
|
||||
|
||||
# editor cursor navigation by word boundaries (a la Emacs)
|
||||
bind M-F nextword main
|
||||
bind M-B prevword main
|
||||
|
||||
# editor cursor navigation horizontally
|
||||
bind ^F forward main
|
||||
bind ^B back main
|
||||
bind ^F forward browser
|
||||
bind ^B back browser
|
||||
|
||||
# editor buffer navigation
|
||||
bind M-< prevbuf main
|
||||
bind M-> nextbuf main
|
||||
|
||||
Loading…
Reference in a new issue