default value: `unknown`. This will be automatically overridden depending
on the file you open.
-* `ignorecase`: perform case-insensitive searches.
+* `hlsearch`: highlight all instances of the searched text after a successful
+ search. This highlighting can be turned off via `UnhighlightSearch` action
+ (triggered by Esc key by default) or toggled on/off via `ToggleHighlightSearch`
+ action. Note that these actions don't change `hlsearch` setting.
+ As long as `hlsearch` is set to true, after the next search the highlighting
+ is turned on again.
default value: `false`
-* `indentchar`: sets the indentation character.
+* `incsearch`: enable incremental search in "Find" prompt (matching as you type).
+
+ default value: `true`
+
+* `ignorecase`: perform case-insensitive searches.
+
+ default value: `true`
+
+* `indentchar`: sets the indentation character. This will not be inserted into
+ files; it is only a visual indicator that whitespace is present. If set to a
+ printing character, it functions as a subset of the "show invisibles"
+ setting available in many other text editors. The color of this character is
+ determined by the `indent-char` field in the current theme rather than the
+ default text color.
default value: ` ` (space)
given line and column 0. Note that with this option enabled it is not possible
to open a file such as `file.txt:10:5`, where `:10:5` is part of the filename.
It is also possible to open a file with a certain cursor location by using the
- `+LINE,COL` flag syntax. See `micro -help` for the command line options.
+ `+LINE:COL` flag syntax. See `micro -help` for the command line options.
default value: `false`
default value: `false`
* `rmtrailingws`: micro will automatically trim trailing whitespaces at ends of
- lines.
+ lines. Note: This setting overrides `keepautoindent`
default value: `false`
* `statusformatl`: format string definition for the left-justified part of the
statusline. Special directives should be placed inside `$()`. Special
- directives include: `filename`, `modified`, `line`, `col`, `opt`, `bind`.
+ directives include: `filename`, `modified`, `line`, `col`, `lines`, `percentage`, `opt`, `bind`.
The `opt` and `bind` directives take either an option or an action afterward
and fill in the value of the option or the key bound to the action.
default value: `4`
-* `tabstospaces`: use spaces instead of tabs.
+* `tabstospaces`: use spaces instead of tabs. Note: This option will be
+ overridden by [the `ftoptions` plugin](https://github.com/zyedidia/micro/blob/master/runtime/plugins/ftoptions/ftoptions.lua)
+ for certain filetypes. To disable this behavior, add `"ftoptions": false` to
+ your config. See [issue #2213](https://github.com/zyedidia/micro/issues/2213)
+ for more details.
default value: `false`
default value: `true`
+* `wordwrap`: wrap long lines by words, i.e. break at spaces. This option
+ only does anything if `softwrap` is on.
+
+ default value: `false`
+
* `xterm`: micro will assume that the terminal it is running in conforms to
`xterm-256color` regardless of what the `$TERM` variable actually contains.
Enabling this option may cause unwanted effects if your terminal in fact
"fastdirty": false,
"fileformat": "unix",
"filetype": "unknown",
+ "incsearch": true,
"ftoptions": true,
"ignorecase": false,
"indentchar": " ",