Mercurial > repos > other > linux
annotate nanorc @ 166:0d534e797a43 default tip
Unset GTK_THEME to fix forced Adwaita theme
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Fri, 30 Aug 2024 16:16:38 +0100 |
parents | bb0e1239a611 |
children |
rev | line source |
---|---|
18
1ec9a1720c5c
Add XCompose (custom compose key combinations for odd characters) and Nano config
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1 set nowrap |
1ec9a1720c5c
Add XCompose (custom compose key combinations for odd characters) and Nano config
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2 set nonewlines |
93
411e0a1c4382
Hide warnings and solve cross-version compatibility
IBBoard <dev@ibboard.co.uk>
parents:
92
diff
changeset
|
3 set autoindent |
162
bb0e1239a611
Default Nano to "open in new buffer"
IBBoard <dev@ibboard.co.uk>
parents:
153
diff
changeset
|
4 set multibuffer |
94
ac4d97a07527
New Nano doesn't like the old "set const" despite "set quiet"
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
5 # Note: This won't work in older Nano, but if we include "set const" then newer Nano complains |
ac4d97a07527
New Nano doesn't like the old "set const" despite "set quiet"
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
6 # DESPITE including "set quiet" later |
ac4d97a07527
New Nano doesn't like the old "set const" despite "set quiet"
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
7 set constantshow |
93
411e0a1c4382
Hide warnings and solve cross-version compatibility
IBBoard <dev@ibboard.co.uk>
parents:
92
diff
changeset
|
8 |
85
ef08bb127ede
Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents:
84
diff
changeset
|
9 ## Nanorc files |
90
4342e7b19fa8
Standardise nanorc colouring with other file types
IBBoard <dev@ibboard.co.uk>
parents:
89
diff
changeset
|
10 include "~/.nanorc.d/nanorc.nanorc" |
85
ef08bb127ede
Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents:
84
diff
changeset
|
11 |
ef08bb127ede
Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents:
84
diff
changeset
|
12 ## Patch files |
ef08bb127ede
Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents:
84
diff
changeset
|
13 include "~/.nanorc.d/patch.nanorc" |
ef08bb127ede
Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents:
84
diff
changeset
|
14 |
ef08bb127ede
Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents:
84
diff
changeset
|
15 ## Perl |
ef08bb127ede
Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents:
84
diff
changeset
|
16 include "/usr/share/nano/perl.nanorc" |
ef08bb127ede
Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents:
84
diff
changeset
|
17 |
ef08bb127ede
Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents:
84
diff
changeset
|
18 ## Python |
88
93b29bcbc9e7
Tidy up Python colouring so it doesn't burn eyes
IBBoard <dev@ibboard.co.uk>
parents:
85
diff
changeset
|
19 include "~/.nanorc.d/python.nanorc" |
85
ef08bb127ede
Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents:
84
diff
changeset
|
20 |
ef08bb127ede
Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents:
84
diff
changeset
|
21 ## Ruby |
ef08bb127ede
Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents:
84
diff
changeset
|
22 include "/usr/share/nano/ruby.nanorc" |
ef08bb127ede
Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents:
84
diff
changeset
|
23 |
ef08bb127ede
Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents:
84
diff
changeset
|
24 ## PHP (and HTML) |
84
b989099cde9f
Start to update Nano colourisation
IBBoard <dev@ibboard.co.uk>
parents:
80
diff
changeset
|
25 include "~/.nanorc.d/php.nanorc" |
85
ef08bb127ede
Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents:
84
diff
changeset
|
26 |
104
f2d500466492
Add initial CSS syntax highlighting
IBBoard <dev@ibboard.co.uk>
parents:
95
diff
changeset
|
27 ## CSS |
f2d500466492
Add initial CSS syntax highlighting
IBBoard <dev@ibboard.co.uk>
parents:
95
diff
changeset
|
28 include "~/.nanorc.d/css.nanorc" |
f2d500466492
Add initial CSS syntax highlighting
IBBoard <dev@ibboard.co.uk>
parents:
95
diff
changeset
|
29 |
105
38e63e27f3da
Add JavaScript syntax highlighting based on stock config
IBBoard <dev@ibboard.co.uk>
parents:
104
diff
changeset
|
30 ## JavaScript |
38e63e27f3da
Add JavaScript syntax highlighting based on stock config
IBBoard <dev@ibboard.co.uk>
parents:
104
diff
changeset
|
31 include "~/.nanorc.d/javascript.nanorc" |
38e63e27f3da
Add JavaScript syntax highlighting based on stock config
IBBoard <dev@ibboard.co.uk>
parents:
104
diff
changeset
|
32 |
85
ef08bb127ede
Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents:
84
diff
changeset
|
33 ## Bourne shell scripts |
89 | 34 include "~/.nanorc.d/sh.nanorc" |
95 | 35 |
36 ## XML | |
37 include "~/.nanorc.d/xml.nanorc" |