dot-files/vim/.vim/plugin/viminfo.vim
Bruno BELANYI 13c3881488 [ADD][VIM] Info file name configuration
I don't want them to pollute my HOME
2020-12-12 14:12:42 +01:00

7 lines
155 B
VimL

" 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