summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim')
-rw-r--r--vim/.vimrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index d895e78..4c97986 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -55,7 +55,9 @@ set noexpandtab
let g:tex_flavor='latex'
-set inccommand=split
+if has('nvim')
+ set inccommand=split
+endif
" Required for operations modifying multiple buffers like rename.
set hidden