docs(options): mention how to disable inccommand preview (#16671)

Co-authored-by: Hitarth Thummar <47787284+gtlsgamr@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2021-12-15 22:43:45 +01:00 committed by GitHub
parent ae249d81fb
commit 5c8e5432c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3226,10 +3226,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.