vim:settings: Set inccommand=split

Show partial off-screen effects of a command in a preview window.
This commit is contained in:
2022-06-17 15:01:49 +02:00
parent b63bbc391f
commit b2536d7c2f

View File

@@ -28,9 +28,10 @@ set undofile
set updatetime=300 set updatetime=300
" Check for spelling in comments and strings " Check for spelling in comments and strings
set spell spelllang=en set spell spelllang=en
" Show the effect of a command while typing (substitute) " Show the effect of a command while typing (substitute). Show partial
" off-screen results in a preview window.
if (has('nvim')) if (has('nvim'))
set inccommand=nosplit set inccommand=split
endif endif
" Put new window below/right of current " Put new window below/right of current
set splitbelow splitright set splitbelow splitright