[ADD][VIM] Info file name configuration
I don't want them to pollute my HOME
This commit is contained in:
parent
cc28222356
commit
13c3881488
2 changed files with 8 additions and 0 deletions
6
vim/.vim/plugin/viminfo.vim
Normal file
6
vim/.vim/plugin/viminfo.vim
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue