]> git.lizzy.rs Git - micro.git/blobdiff - runtime/help/options.md
Fix repo.json info in plugin docs (#2313)
[micro.git] / runtime / help / options.md
index 44057058965c287cc01eb6727a342c74313ae1a6..6b872398a0b2bb3e9f9f826408b73deb3d2baf02 100644 (file)
@@ -159,11 +159,29 @@ Here are the available options:
        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)
 
@@ -237,8 +255,7 @@ Here are the available options:
    By default, this option points to the official plugin channel hosted on GitHub
    at https://github.com/micro-editor/plugin-channel.
 
-    default value: `https://raw.githubusercontent.com/micro-editor/plugin-channel
-                    /master/channel.json`
+    default value: `https://raw.githubusercontent.com/micro-editor/plugin-channel/master/channel.json`
 
 * `pluginrepos`: a list of links to plugin repositories.
 
@@ -250,7 +267,7 @@ Here are the available options:
     default value: `false`
 
 * `rmtrailingws`: micro will automatically trim trailing whitespaces at ends of
-   lines.
+   lines. Note: This setting overrides `keepautoindent`
 
        default value: `false`
 
@@ -362,6 +379,11 @@ Here are the available options:
 
        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
@@ -424,6 +446,7 @@ so that you can see what the formatting should look like.
     "fastdirty": false,
     "fileformat": "unix",
     "filetype": "unknown",
+    "incsearch": true,
     "ftoptions": true,
     "ignorecase": false,
     "indentchar": " ",