[ADD][VIM] Info file name configuration

I don't want them to pollute my HOME
This commit is contained in:
Bruno BELANYI 2020-10-28 10:58:04 +01:00
parent cc28222356
commit 13c3881488
2 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1,6 @@
" Do not store viminfo/shada files in my HOME
if has('nvim')
"set shadafile=$HOME/.config/nvim/shada
else
set viminfofile=$HOME/.vim/viminfo
endif