summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2019-04-19 09:59:31 +0200
committerJulian T <julian@jtle.dk>2019-04-19 09:59:31 +0200
commit1d500d606443c2d76f562390b5b259615937d1f3 (patch)
treea6098024ef00292af4b2e9c6ff40f9224b6a1368 /vim
parent52c73c017762b8b95e511e4516aae06c83c4ed97 (diff)
Fixed error when opening normal vim, and added tigrc
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