@@ -79,22 +79,16 @@ Here are the available options:
7979
8080 default value: ` 0 `
8181
82- * ` colorscheme ` : loads the colorscheme stored in
83- $(configDir)/colorschemes/` option ` .micro, This setting is ` global only ` .
82+ * ` colorscheme ` : use the given colorscheme. This setting is ` global only ` .
83+ The colorscheme can be either one of the colorschemes that micro comes with
84+ by default (such as ` default ` , ` solarized ` or ` solarized-tc ` ) which are
85+ embedded in the micro binary, or a custom colorscheme stored in
86+ ` ~/.config/micro/colorschemes/$(option).micro ` where ` $(option) ` is the
87+ option value. You can read more about micro's colorschemes and see the list
88+ of default colorschemes in ` > help colors ` .
8489
8590 default value: ` default `
8691
87- Note that the default colorschemes (default, solarized, and solarized-tc)
88- are not located in configDir, because they are embedded in the micro
89- binary.
90-
91- The colorscheme can be selected from all the files in the
92- ~ /.config/micro/colorschemes/ directory. Micro comes by default with
93- three colorschemes:
94-
95- You can read more about micro's colorschemes in the ` colors ` help topic
96- (` help colors ` ).
97-
9892* ` cursorline ` : highlight the line that the cursor is on in a different color
9993 (the color is defined by the colorscheme you are using).
10094
@@ -201,11 +195,11 @@ Here are the available options:
201195
202196 default value: ` false `
203197
204- * ` incsearch ` : enable incremental search in "Find" prompt (matching as you type) .
198+ * ` ignorecase ` : perform case-insensitive searches .
205199
206200 default value: ` true `
207201
208- * ` ignorecase ` : perform case-insensitive searches .
202+ * ` incsearch ` : enable incremental search in "Find" prompt (matching as you type) .
209203
210204 default value: ` true `
211205
@@ -292,17 +286,8 @@ Here are the available options:
292286
293287 default value: ` 2 `
294288
295- * ` paste ` : treat characters sent from the terminal in a single chunk as a paste
296- event rather than a series of manual key presses. If you are pasting using
297- the terminal keybinding (not ` Ctrl-v ` , which is micro's default paste
298- keybinding) then it is a good idea to enable this option during the paste
299- and disable once the paste is over. See ` > help copypaste ` for details about
300- copying and pasting in a terminal environment.
301-
302- default value: ` false `
303-
304289* ` parsecursor ` : if enabled, this will cause micro to parse filenames such as
305- file.txt:10:5 as requesting to open ` file.txt ` with the cursor at line 10
290+ ` file.txt:10:5 ` as requesting to open ` file.txt ` with the cursor at line 10
306291 and column 5. The column number can also be dropped to open the file at a
307292 given line and column 0. Note that with this option enabled it is not possible
308293 to open a file such as ` file.txt:10:5 ` , where ` :10:5 ` is part of the filename.
@@ -311,6 +296,15 @@ Here are the available options:
311296
312297 default value: ` false `
313298
299+ * ` paste ` : treat characters sent from the terminal in a single chunk as a paste
300+ event rather than a series of manual key presses. If you are pasting using
301+ the terminal keybinding (not ` Ctrl-v ` , which is micro's default paste
302+ keybinding) then it is a good idea to enable this option during the paste
303+ and disable once the paste is over. See ` > help copypaste ` for details about
304+ copying and pasting in a terminal environment.
305+
306+ default value: ` false `
307+
314308* ` permbackup ` : this option causes backups (see ` backup ` option) to be
315309 permanently saved. With permanent backups, micro will not remove backups when
316310 files are closed and will never apply them to existing files. Use this option
@@ -335,6 +329,12 @@ Here are the available options:
335329
336330 default value: ` false `
337331
332+ * ` relativeruler ` : make line numbers display relatively. If set to true, all
333+ lines except for the line that the cursor is located will display the distance
334+ from the cursor's line.
335+
336+ default value: ` false `
337+
338338* ` reload ` : controls the reload behavior of the current buffer in case the file
339339 has changed. The available options are ` prompt ` , ` auto ` & ` disabled ` .
340340
@@ -352,12 +352,6 @@ Here are the available options:
352352
353353 default value: ` true `
354354
355- * ` relativeruler ` : make line numbers display relatively. If set to true, all
356- lines except for the line that the cursor is located will display the distance
357- from the cursor's line.
358-
359- default value: ` false `
360-
361355* ` savecursor ` : remember where the cursor was last time the file was opened and
362356 put it there when you open the file again. Information is saved to
363357 ` ~/.config/micro/buffers/ `
@@ -441,14 +435,14 @@ Here are the available options:
441435
442436 default value: ` true `
443437
444- * ` tabmovement ` : navigate spaces at the beginning of lines as if they are tabs
445- (e.g. move over 4 spaces at once). This option only does anything if
446- ` tabstospaces ` is on.
438+ * ` tabhighlight ` : inverts the tab characters' (filename, save indicator, etc)
439+ colors with respect to the tab bar.
447440
448441 default value: ` false `
449442
450- * ` tabhighlight ` : inverts the tab characters' (filename, save indicator, etc)
451- colors with respect to the tab bar.
443+ * ` tabmovement ` : navigate spaces at the beginning of lines as if they are tabs
444+ (e.g. move over 4 spaces at once). This option only does anything if
445+ ` tabstospaces ` is on.
452446
453447 default value: ` false `
454448
@@ -507,13 +501,13 @@ or disable them:
507501 recent Git commit rather than the diff since opening the file.
508502
509503Any option you set in the editor will be saved to the file
510- ~ /.config/micro/settings.json so, in effect, your configuration file will be
504+ ` ~/.config/micro/settings.json ` so, in effect, your configuration file will be
511505created for you. If you'd like to take your configuration with you to another
512- machine, simply copy the settings.json to the other machine.
506+ machine, simply copy the ` settings.json ` to the other machine.
513507
514508## Settings.json file
515509
516- The settings.json file should go in your configuration directory (by default
510+ The ` settings.json ` file should go in your configuration directory (by default
517511at ` ~/.config/micro ` ), and should contain only options which have been modified
518512from their default setting. Here is the full list of options in json format,
519513so that you can see what the formatting should look like.
@@ -532,18 +526,24 @@ so that you can see what the formatting should look like.
532526 "colorscheme" : " default" ,
533527 "comment" : true ,
534528 "cursorline" : true ,
529+ "detectlimit" : 100 ,
535530 "diff" : true ,
536531 "diffgutter" : false ,
537532 "divchars" : " |-" ,
538533 "divreverse" : true ,
539534 "encoding" : " utf-8" ,
540535 "eofnewline" : true ,
536+ "fakecursor" : false ,
541537 "fastdirty" : false ,
542538 "fileformat" : " unix" ,
543539 "filetype" : " unknown" ,
544- "incsearch" : true ,
545540 "ftoptions" : true ,
541+ "helpsplit" : " hsplit" ,
542+ "hlsearch" : false ,
543+ "hltaberrors" : false ,
544+ "hltrailingws" : false ,
546545 "ignorecase" : true ,
546+ "incsearch" : true ,
547547 "indentchar" : " " ,
548548 "infobar" : true ,
549549 "initlua" : true ,
@@ -556,6 +556,8 @@ so that you can see what the formatting should look like.
556556 "matchbracestyle" : " underline" ,
557557 "mkparents" : false ,
558558 "mouse" : true ,
559+ "multiopen" : " tab" ,
560+ "pageoverlap" : 2 ,
559561 "parsecursor" : false ,
560562 "paste" : false ,
561563 "permbackup" : false ,
@@ -565,12 +567,14 @@ so that you can see what the formatting should look like.
565567 "pluginrepos" : [],
566568 "readonly" : false ,
567569 "relativeruler" : false ,
570+ "reload" : " prompt" ,
568571 "rmtrailingws" : false ,
569572 "ruler" : true ,
570573 "savecursor" : false ,
571574 "savehistory" : true ,
572575 "saveundo" : false ,
573576 "scrollbar" : false ,
577+ "scrollbarchar" : " |" ,
574578 "scrollmargin" : 3 ,
575579 "scrollspeed" : 2 ,
576580 "smartpaste" : true ,
@@ -583,12 +587,13 @@ so that you can see what the formatting should look like.
583587 "statusline" : true ,
584588 "sucmd" : " sudo" ,
585589 "syntax" : true ,
586- "tabmovement" : false ,
587590 "tabhighlight" : true ,
591+ "tabmovement" : false ,
588592 "tabreverse" : false ,
589593 "tabsize" : 4 ,
590594 "tabstospaces" : false ,
591595 "useprimary" : true ,
596+ "wordwrap" : false ,
592597 "xterm" : false
593598}
594599```
0 commit comments