Update .nanorcs and add .nanorc-darwin.
This commit is contained in:
parent
b196bd7b4f
commit
d0a043d434
4 changed files with 114 additions and 24 deletions
79
.nanorc-darwin
Normal file
79
.nanorc-darwin
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
## Sample initialization file for GNU nano.
|
||||
##
|
||||
## Please note that you must have configured nano with --enable-nanorc
|
||||
## for this file to be read! Also note that this file should not be in
|
||||
## DOS or Mac format, and that characters specially interpreted by the
|
||||
## shell should not be escaped here.
|
||||
##
|
||||
## To make sure an option is disabled, use "unset <option>".
|
||||
##
|
||||
## For the options that take parameters, the default value is given.
|
||||
## Other options are unset by default.
|
||||
##
|
||||
## Quotes inside string parameters don't have to be escaped with
|
||||
## backslashes. The last double quote in the string will be treated as
|
||||
## its end. For example, for the "brackets" option, ""')>]}" will match
|
||||
## ", ', ), >, ], and }.
|
||||
|
||||
## Use auto-indentation.
|
||||
set autoindent
|
||||
|
||||
## When saving a file, create a backup file by adding a tilde (~).
|
||||
# set backup
|
||||
|
||||
## Do case-sensitive searches by default.
|
||||
# set casesensitive
|
||||
|
||||
## Set the line length for wrapping text and justifying paragraphs.
|
||||
set fill -2
|
||||
|
||||
## Remember the used search/replace strings for the next session.
|
||||
set historylog
|
||||
|
||||
## Use the blank line below the titlebar as extra editing space.
|
||||
set morespace
|
||||
|
||||
## Don't display the helpful shortcut lists at the bottom of the screen.
|
||||
set nohelp
|
||||
|
||||
## Don't add newlines to the ends of files.
|
||||
# set nonewlines
|
||||
|
||||
## Don't wrap text at all.
|
||||
set nowrap
|
||||
|
||||
## Do quick statusbar blanking.
|
||||
set quickblank
|
||||
|
||||
## Do extended regular expression searches by default.
|
||||
# set regexp
|
||||
|
||||
## Make the Home key smarter.
|
||||
set smarthome
|
||||
|
||||
## Use smooth scrolling as the default.
|
||||
set smooth
|
||||
|
||||
## Use this spelling checker instead of the internal one.
|
||||
set speller "aspell -x -c"
|
||||
|
||||
## Allow nano to be suspended.
|
||||
set suspend
|
||||
|
||||
## The two characters used to indicate the presence of tabs and spaces.
|
||||
set whitespace »·
|
||||
|
||||
## Detect word boundaries more accurately by treating punctuation characters as parts of words.
|
||||
set wordbounds
|
||||
|
||||
|
||||
## Key bindings.
|
||||
## The following five functions are not bound to any key by default.
|
||||
## You may wish to choose different keys than the ones suggested here.
|
||||
# bind ^S savefile main
|
||||
# bind M-Q findprevious main
|
||||
# bind M-W findnext main
|
||||
# bind M-B cutwordleft main
|
||||
# bind M-N cutwordright main
|
||||
## Set this if your Backspace key sends Del most of the time.
|
||||
# bind Del backspace all
|
||||
Loading…
Add table
Add a link
Reference in a new issue