vim:settings: Set inccommand=split
Show partial off-screen effects of a command in a preview window.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user