2021-07-19 13:13:57 -05:00
|
|
|
## Nano Options ##
|
|
|
|
|
|
|
|
# Maintains indentation level
|
|
|
|
set autoindent
|
|
|
|
|
|
|
|
# Adds line numbers to the side of the display
|
|
|
|
set linenumbers
|
|
|
|
|
|
|
|
# Use spaces instead of tabs (FUCK TABS)
|
|
|
|
set tabstospaces
|
|
|
|
|
|
|
|
# Set the tabsize -- if tabtospaces is enabled this will define how many spaces to use
|
|
|
|
set tabsize 4
|
|
|
|
|
|
|
|
# Back Ups (This will create a clone of the file being edited suffixed with "~"
|
|
|
|
set backup
|
|
|
|
|
|
|
|
# Back Up Directory (This will move all backups to this directory)
|
|
|
|
set backupdir "~/Nano-Backups"
|
|
|
|
|
|
|
|
# Disable case sensitive searches -- makes ^w a bit more powerful
|
|
|
|
unset casesensitive
|
|
|
|
|
|
|
|
|
|
|
|
## Nano Bindings ##
|
|
|
|
|
|
|
|
# Rebinding copy for line
|
|
|
|
unbind ^C main
|
|
|
|
bind ^C copy main
|
|
|
|
|
|
|
|
# Rebinding paste
|
|
|
|
unbind ^V main
|
|
|
|
bind ^V paste main
|
|
|
|
|
|
|
|
# Rebinding undo
|
|
|
|
unbind ^Z main
|
|
|
|
bind ^Z undo main
|
|
|
|
|
|
|
|
# Rebinding redo
|
|
|
|
unbind ^R main
|
2021-07-28 09:32:08 -05:00
|
|
|
bind ^R redo main
|