Update .nanorcs and add .nanorc-darwin.

This commit is contained in:
Darren 'Tadgy' Austin 2023-09-30 15:24:37 +01:00
commit 117d7f181e
4 changed files with 114 additions and 24 deletions

View file

@ -16,7 +16,10 @@
## ", ', ), >, ], and }.
## Use auto-indentation.
# set autoindent
set autoindent
## When saving a file, create a backup file by adding a tilde (~).
# set backup
## Do case-sensitive searches by default.
# set casesensitive
@ -27,12 +30,6 @@ set fill -2
## Remember the used search/replace strings for the next session.
set historylog
## When justifying text, trailing whitespace will automatically be removed.
set justifytrim
## Enable vim-style lock-files.
set locking
## Use the blank line below the titlebar as extra editing space.
set morespace
@ -45,9 +42,6 @@ set nohelp
## Don't wrap text at all.
set nowrap
## Save the cursor position of files between editing sessions.
# set positionlog
## Do quick statusbar blanking.
set quickblank
@ -60,9 +54,6 @@ set smarthome
## Use smooth scrolling as the default.
set smooth
## Enable soft line wrapping (AKA full-line display).
# set softwrap
## Use this spelling checker instead of the internal one.
set speller "aspell -x -c"
@ -70,21 +61,41 @@ set speller "aspell -x -c"
set suspend
## The two characters used to indicate the presence of tabs and spaces.
# set whitespace >.
set whitespace »·
## Detect word boundaries more accurately by treating punctuation characters as parts of words.
set wordbounds
## Interface colours.
set functioncolor magenta
set keycolor brightwhite
set statuscolor magenta
set titlecolor magenta
## Include all existing syntax highlight definitions.
include "/usr/share/nano/*.nanorc"
include "/usr/share/nano/asm.nanorc"
include "/usr/share/nano/awk.nanorc"
include "/usr/share/nano/c.nanorc"
include "/usr/share/nano/cmake.nanorc"
include "/usr/share/nano/css.nanorc"
include "/usr/share/nano/debian.nanorc"
include "/usr/share/nano/fortran.nanorc"
include "/usr/share/nano/gentoo.nanorc"
include "/usr/share/nano/groff.nanorc"
include "/usr/share/nano/html.nanorc"
include "/usr/share/nano/java.nanorc"
include "/usr/share/nano/makefile.nanorc"
include "/usr/share/nano/man.nanorc"
include "/usr/share/nano/mgp.nanorc"
include "/usr/share/nano/mutt.nanorc"
include "/usr/share/nano/nanorc.nanorc"
include "/usr/share/nano/objc.nanorc"
include "/usr/share/nano/ocaml.nanorc"
include "/usr/share/nano/patch.nanorc"
include "/usr/share/nano/perl.nanorc"
include "/usr/share/nano/php.nanorc"
include "/usr/share/nano/pov.nanorc"
include "/usr/share/nano/python.nanorc"
include "/usr/share/nano/ruby.nanorc"
include "/usr/share/nano/sh.nanorc"
include "/usr/share/nano/tcl.nanorc"
include "/usr/share/nano/tex.nanorc"
include "/usr/share/nano/xml.nanorc"
## Key bindings.