]> git.lizzy.rs Git - micro.git/blobdiff - runtime/help/options.md
Support for highlighting all search matches (hlsearch) (#1762)
[micro.git] / runtime / help / options.md
index 491eaba5f2b8029a7c487db61c00895a01a0f5bd..643115b0a843878bf68b8bd4cf132d0e805d361f 100644 (file)
@@ -159,6 +159,15 @@ Here are the available options:
        default value: `unknown`. This will be automatically overridden depending
     on the file you open.
 
+* `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`
+
 * `incsearch`: enable incremental search in "Find" prompt (matching as you type).
 
        default value: `true`