aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHitarth Thummar <47787284+gtlsgamr@users.noreply.github.com>2021-12-16 03:11:24 +0530
committerGitHub <noreply@github.com>2021-12-15 22:41:24 +0100
commit4218b7079e18a9ac078064f90f8fb4ef75c04400 (patch)
tree24b3d50ad6d8a7528b8af43204cdd6db8ae032e5
parent4393360796ffd3ea6e552a13b19f60cd4892fbdc (diff)
downloadrneovim-4218b7079e18a9ac078064f90f8fb4ef75c04400.tar.gz
rneovim-4218b7079e18a9ac078064f90f8fb4ef75c04400.tar.bz2
rneovim-4218b7079e18a9ac078064f90f8fb4ef75c04400.zip
docs(options): mention how to disable `inccommand` preview (#16534)
Co-authored-by: Hitarth Thumma
-rw-r--r--runtime/doc/options.txt10
1 files changed, 7 insertions, 3 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 47633c750c..097cd38400 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -3229,10 +3229,14 @@ A jump table for the options with a short description can be found at |Q_op|.
'inccommand' 'icm' string (default "nosplit")
global
- "nosplit": Shows the effects of a command incrementally, as you type.
- "split" : Also shows partial off-screen results in a preview window.
+ When nonempty, shows the effects of |:substitute|, |:smagic|, and
+ |:snomagic| as you type.
- Works for |:substitute|, |:smagic|, |:snomagic|. |hl-Substitute|
+ Possible values:
+ nosplit Shows the effects of a command incrementally in the
+ buffer.
+ split Like "nosplit", but also shows partial off-screen
+ results in a preview window.
If the preview is too slow (exceeds 'redrawtime') then 'inccommand' is
automatically disabled until |Command-line-mode| is done.