[vim] Use a separate viminfo file for neovim because the formats are different
This commit is contained in:
parent
e8bacd23dd
commit
29cacbea11
1 changed files with 5 additions and 1 deletions
6
vimrc
6
vimrc
|
@ -114,7 +114,11 @@ set undofile " save undo history
|
||||||
set undodir=$VIM/undo " save undo files here
|
set undodir=$VIM/undo " save undo files here
|
||||||
set history=1000 " remember 1000 commands in history
|
set history=1000 " remember 1000 commands in history
|
||||||
set undolevels=1000 " keep lots of undo 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...
|
" I have *NO* idea what this does...
|
||||||
|
|
||||||
set backspace=indent,eol,start
|
set backspace=indent,eol,start
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue