-
Notifications
You must be signed in to change notification settings - Fork 1
/
.nanorc
89 lines (71 loc) · 2.95 KB
/
.nanorc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
## Use auto-indentation.
set autoindent
## Constantly display the cursor position in the statusbar. Note that
## this overrides "quickblank".
#set const
## Use cut-to-end-of-line by default.
#set cut
## Set the line length for wrapping text and justifying paragraphs.
## If the value is 0 or less, the wrapping point will be the screen
## width less this number.
set fill 120
## The opening and closing brackets that can be found by bracket
## searches. They cannot contain blank characters. The former set must
## come before the latter set, and both must be in the same order.
set matchbrackets "(<[{)>]}"
## Enable mouse support, if available for your system. When enabled,
## mouse clicks can be used to place the cursor, set the mark (with a
## double click), and execute shortcuts. The mouse will work in the X
## Window System, and on the console when gpm is running.
set mouse
## 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
## Fix Backspace/Delete confusion problem.
#set rebinddelete
## Fix numeric keypad key confusion problem.
## Note: causes mouse support to fail
#set rebindkeypad
## Make the Home key smarter. When Home is pressed anywhere but at the
## very beginning of non-whitespace characters on a line, the cursor
## will jump to that beginning (either forwards or backwards). If the
## cursor is already at that position, it will jump to the true
## beginning of the line.
set smarthome
## Enable soft line wrapping (AKA full-line display).
#set softwrap
## Use this tab size instead of the default; it must be greater than 0.
set tabsize 4
## The two single-column characters used to display the first characters
## of tabs and spaces. 187 in ISO 8859-1 (0000BB in Unicode) and 183 in
## ISO-8859-1 (0000B7 in Unicode) seem to be good values for these.
## The default when in a UTF-8 locale:
#set whitespace "··"
## Detect word boundaries more accurately by treating punctuation
## characters as parts of words.
set wordbounds
## Spellcheck program
set speller "aspell -x -c"
# syntax highlighting
#include /usr/local/share/nano/c.nanorc
#include /usr/local/share/nano/changelog.nanorc
#include /usr/local/share/nano/cmake.nanorc
#include /usr/local/share/nano/css.nanorc
#include /usr/local/share/nano/default.nanorc
#include /usr/local/share/nano/go.nanorc
#include /usr/local/share/nano/html.nanorc
#include /usr/local/share/nano/javascript.nanorc
#include /usr/local/share/nano/json.nanorc
#include /usr/local/share/nano/makefile.nanorc
#include /usr/local/share/nano/nanorc.nanorc
#include /usr/local/share/nano/patch.nanorc
#include /usr/local/share/nano/php.nanorc
#include /usr/local/share/nano/postgresql.nanorc
#include /usr/local/share/nano/python.nanorc
#include /usr/local/share/nano/ruby.nanorc
#include /usr/local/share/nano/rust.nanorc
#include /usr/local/share/nano/sh.nanorc
#include /usr/local/share/nano/xml.nanorc