Skip to content

Commit 4377e56

Browse files
committed
Add, sort options in list, default JSON in options.md
1 parent 9b3f7ff commit 4377e56

File tree

1 file changed

+35
-24
lines changed

1 file changed

+35
-24
lines changed

runtime/help/options.md

Lines changed: 35 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,11 @@ Here are the available options:
201201

202202
default value: `false`
203203

204-
* `incsearch`: enable incremental search in "Find" prompt (matching as you type).
204+
* `ignorecase`: perform case-insensitive searches.
205205

206206
default value: `true`
207207

208-
* `ignorecase`: perform case-insensitive searches.
208+
* `incsearch`: enable incremental search in "Find" prompt (matching as you type).
209209

210210
default value: `true`
211211

@@ -292,15 +292,6 @@ Here are the available options:
292292

293293
default value: `2`
294294

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-
304295
* `parsecursor`: if enabled, this will cause micro to parse filenames such as
305296
file.txt:10:5 as requesting to open `file.txt` with the cursor at line 10
306297
and column 5. The column number can also be dropped to open the file at a
@@ -311,6 +302,15 @@ Here are the available options:
311302

312303
default value: `false`
313304

305+
* `paste`: treat characters sent from the terminal in a single chunk as a paste
306+
event rather than a series of manual key presses. If you are pasting using
307+
the terminal keybinding (not `Ctrl-v`, which is micro's default paste
308+
keybinding) then it is a good idea to enable this option during the paste
309+
and disable once the paste is over. See `> help copypaste` for details about
310+
copying and pasting in a terminal environment.
311+
312+
default value: `false`
313+
314314
* `permbackup`: this option causes backups (see `backup` option) to be
315315
permanently saved. With permanent backups, micro will not remove backups when
316316
files are closed and will never apply them to existing files. Use this option
@@ -335,6 +335,12 @@ Here are the available options:
335335

336336
default value: `false`
337337

338+
* `relativeruler`: make line numbers display relatively. If set to true, all
339+
lines except for the line that the cursor is located will display the distance
340+
from the cursor's line.
341+
342+
default value: `false`
343+
338344
* `reload`: controls the reload behavior of the current buffer in case the file
339345
has changed. The available options are `prompt`, `auto` & `disabled`.
340346

@@ -352,12 +358,6 @@ Here are the available options:
352358

353359
default value: `true`
354360

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-
361361
* `savecursor`: remember where the cursor was last time the file was opened and
362362
put it there when you open the file again. Information is saved to
363363
`~/.config/micro/buffers/`
@@ -441,14 +441,14 @@ Here are the available options:
441441

442442
default value: `true`
443443

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.
444+
* `tabhighlight`: inverts the tab characters' (filename, save indicator, etc)
445+
colors with respect to the tab bar.
447446

448447
default value: `false`
449448

450-
* `tabhighlight`: inverts the tab characters' (filename, save indicator, etc)
451-
colors with respect to the tab bar.
449+
* `tabmovement`: navigate spaces at the beginning of lines as if they are tabs
450+
(e.g. move over 4 spaces at once). This option only does anything if
451+
`tabstospaces` is on.
452452

453453
default value: `false`
454454

@@ -532,18 +532,24 @@ so that you can see what the formatting should look like.
532532
"colorscheme": "default",
533533
"comment": true,
534534
"cursorline": true,
535+
"detectlimit": 100,
535536
"diff": true,
536537
"diffgutter": false,
537538
"divchars": "|-",
538539
"divreverse": true,
539540
"encoding": "utf-8",
540541
"eofnewline": true,
542+
"fakecursor": false,
541543
"fastdirty": false,
542544
"fileformat": "unix",
543545
"filetype": "unknown",
544-
"incsearch": true,
545546
"ftoptions": true,
547+
"helpsplit": "hsplit",
548+
"hlsearch": false,
549+
"hltaberrors": false,
550+
"hltrailingws": false,
546551
"ignorecase": true,
552+
"incsearch": true,
547553
"indentchar": " ",
548554
"infobar": true,
549555
"initlua": true,
@@ -556,6 +562,8 @@ so that you can see what the formatting should look like.
556562
"matchbracestyle": "underline",
557563
"mkparents": false,
558564
"mouse": true,
565+
"multiopen": "tab",
566+
"pageoverlap": 2,
559567
"parsecursor": false,
560568
"paste": false,
561569
"permbackup": false,
@@ -565,12 +573,14 @@ so that you can see what the formatting should look like.
565573
"pluginrepos": [],
566574
"readonly": false,
567575
"relativeruler": false,
576+
"reload": "prompt",
568577
"rmtrailingws": false,
569578
"ruler": true,
570579
"savecursor": false,
571580
"savehistory": true,
572581
"saveundo": false,
573582
"scrollbar": false,
583+
"scrollbarchar": "|",
574584
"scrollmargin": 3,
575585
"scrollspeed": 2,
576586
"smartpaste": true,
@@ -583,12 +593,13 @@ so that you can see what the formatting should look like.
583593
"statusline": true,
584594
"sucmd": "sudo",
585595
"syntax": true,
586-
"tabmovement": false,
587596
"tabhighlight": true,
597+
"tabmovement": false,
588598
"tabreverse": false,
589599
"tabsize": 4,
590600
"tabstospaces": false,
591601
"useprimary": true,
602+
"wordwrap": false,
592603
"xterm": false
593604
}
594605
```

0 commit comments

Comments
 (0)