[vim] Use a separate viminfo file for neovim because the formats are different

This commit is contained in:
Eryn Wells 2017-01-15 08:34:59 -08:00
parent e8bacd23dd
commit 29cacbea11

6
vimrc
View file

@ -114,7 +114,11 @@ set undofile " save undo history
set undodir=$VIM/undo " save undo files here
set history=1000 " remember 1000 commands in history
set undolevels=1000 " keep lots of undo history
set viminfo=%100,'100,/100,h,\"500,:100,n$VIM/.viminfo
if !has('nvim')
set viminfo=%100,'100,/100,h,\"500,:100,n$VIM/.viminfo
else
set viminfo=%100,'100,/100,h,\"500,:100,n$VIM/.nviminfo
endif
" I have *NO* idea what this does...
set backspace=indent,eol,start