8
8
# # Inside string parameters, quotes should not be escaped -- the last
9
9
# # double quote on the line will be seen as the closing quote.
10
10
11
+ # # If you want ^F, ^B, M-F and M-B to do what they did before version 8.0:
12
+ # bind ^F forward main
13
+ # bind ^B back main
14
+ # bind M-F formatter main
15
+ # bind M-B linter main
16
+
11
17
# # Make 'nextword' (Ctrl+Right) and 'chopwordright' (Ctrl+Delete)
12
18
# # stop at word ends instead of at beginnings.
13
19
# set afterends
44
50
# # Do case-sensitive searches by default.
45
51
# set casesensitive
46
52
53
+ # # Interpret digits given on the command line after a colon after a filename
54
+ # # as the line number to go to in that file.
55
+ # set colonparsing
56
+
47
57
# # Constantly display the cursor position in the status bar or minibar.
48
58
# set constantshow
49
59
92
102
# set minibar
93
103
94
104
# # Enable mouse support, if available for your system. When enabled,
95
- # # mouse clicks can be used to place the cursor, set the mark (with a
96
- # # double click ), and execute shortcuts. The mouse will work in the
105
+ # # mouse clicks can be used to place the cursor, set the mark (with
106
+ # # two clicks ), and execute shortcuts. The mouse will work in the
97
107
# # X Window System, and on the console when gpm is running.
98
108
# set mouse
99
109
@@ -215,7 +225,7 @@ set statuscolor bold,white,green
215
225
set errorcolor bold ,white ,red
216
226
set spotlightcolor black ,lightyellow
217
227
set selectedcolor lightwhite ,magenta
218
- set stripecolor ,yellow
228
+ set stripecolor ,#444
219
229
set scrollercolor cyan
220
230
set numbercolor cyan
221
231
set keycolor cyan
@@ -239,12 +249,12 @@ set functioncolor green
239
249
# # For all details, see 'man nanorc', section SYNTAX HIGHLIGHTING.
240
250
241
251
# # To include most of the existing syntax definitions, you can do:
242
- include " /usr/share/nano/* .nanorc"
252
+ # include /usr/share/nano/*.nanorc
243
253
244
254
# # Or you can select just the ones you need. For example:
245
- include " /usr/share/nano/html.nanorc"
246
- include " /usr/share/nano/python.nanorc"
247
- include " /usr/share/nano/sh.nanorc"
255
+ # include /usr/share/nano/html.nanorc
256
+ # include /usr/share/nano/python.nanorc
257
+ # include /usr/share/nano/sh.nanorc
248
258
249
259
# # In /usr/share/nano/extra/ you can find some syntaxes that are
250
260
# # specific for certain distros or for some less common languages.
@@ -254,9 +264,6 @@ include "/usr/share/nano/sh.nanorc"
254
264
# # independent of the settings of 'tabsize' and 'tabstospaces':
255
265
# extendsyntax python tabgives " "
256
266
257
- # # If <Tab> should always produce an actual TAB when editing a Makefile:
258
- # extendsyntax makefile tabgives " "
259
-
260
267
261
268
# # === Key bindings ===
262
269
# # For all details, see 'man nanorc', section REBINDING KEYS.
@@ -286,46 +293,49 @@ include "/usr/share/nano/sh.nanorc"
286
293
287
294
# # For quickly uppercasing or lowercasing the word under or after the cursor.
288
295
# # (These effectively select a word and pipe it through a sed command.)
289
- # bind Sh-M-U "{nextword}{mark}{prevword}{execute}|sed 's/.*/\U&/'{enter}" main
290
- # bind Sh-M-L "{nextword}{mark}{prevword}{execute}|sed 's/.*/\L&/'{enter}" main
296
+ # bind Sh-M-U "{nextword}{mark}{prevword}{execute}|sed 's/.*/\U&/'{enter}" main
297
+ # bind Sh-M-L "{nextword}{mark}{prevword}{execute}|sed 's/.*/\L&/'{enter}" main
291
298
292
299
# # For copying a marked region to the system clipboard:
293
- # bind Sh-M-T "{execute}|xsel -ib{enter}{undo}" main
300
+ # bind Sh-M-C "{execute}|xsel -ib{enter}{undo}" main
301
+
302
+ # # For normalizing Unicode to precomposed characters:
303
+ # bind Sh-M-N "{execute}| uconv -x nfc {enter}" main
294
304
295
305
# # For snipping trailing blanks when you save a file:
296
306
# bind ^S "{execute}| sed 's/\s\+$//' {enter}{savefile}" main
297
307
298
308
# # If you would like nano to have keybindings that are more "usual",
299
309
# # such as ^O for Open, ^F for Find, ^H for Help, and ^Q for Quit,
300
310
# # then uncomment these:
301
- # bind ^X cut main
302
- # bind ^C copy main
303
- # bind ^V paste all
304
- # bind ^Q exit all
305
- # bind ^S savefile main
306
- # bind ^W writeout main
307
- # bind ^O insert main
308
- # set multibuffer
309
- # bind ^H help all
310
- # bind ^H exit help
311
- # bind ^F whereis all
312
- # bind ^G findnext all
313
- # bind ^B wherewas all
314
- # bind ^D findprevious all
315
- # bind ^R replace main
316
- # unbind ^U all
317
- # unbind ^N main
318
- # unbind ^Y all
319
- # unbind M-J main
320
- # unbind M-T main
321
- # bind ^A mark main
322
- # bind ^P location main
323
- # bind ^T gotoline main
324
- # bind ^T gotodir browser
325
- # bind ^T cutrestoffile execute
326
- # bind ^L linter execute
327
- # bind ^E execute main
328
- # bind ^K "{mark}{end}{zap}" main
329
- # bind ^U "{mark}{home}{zap}" main
330
- # bind ^Z undo main
331
- # bind ^Y redo main
311
+ # bind ^X cut main
312
+ # bind ^C copy main
313
+ # bind ^V paste all
314
+ # bind ^Q exit all
315
+ # bind ^S savefile main
316
+ # bind ^W writeout main
317
+ # bind ^O insert main
318
+ # set multibuffer
319
+ # bind ^H help all
320
+ # bind ^H exit help
321
+ # bind ^F whereis all
322
+ # bind ^G findnext all
323
+ # bind ^B wherewas all
324
+ # bind ^D findprevious all
325
+ # bind ^R replace main
326
+ # unbind ^U all
327
+ # unbind ^N main
328
+ # unbind ^Y all
329
+ # unbind M-J main
330
+ # unbind M-T main
331
+ # bind ^A mark main
332
+ # bind ^P location main
333
+ # bind ^T gotoline main
334
+ # bind ^T gotodir browser
335
+ # bind ^T cutrestoffile execute
336
+ # bind ^L linter execute
337
+ # bind ^E execute main
338
+ # bind ^K "{mark}{end}{zap}" main
339
+ # bind ^U "{mark}{home}{zap}" main
340
+ # bind ^Z undo main
341
+ # bind ^Y redo main
0 commit comments