41 lines
804 B
Plaintext
41 lines
804 B
Plaintext
## 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
|
|
bind ^R redo main |