[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
.gitignore
vendored
2
.gitignore
vendored
|
@ -6,6 +6,8 @@ vim/.vim/autoload/plug.vim*
|
|||
vim/.vim/plugged/
|
||||
vim/.vim/spell/
|
||||
vim/.vim/view/
|
||||
vim/.vim/viminfo
|
||||
nvim/.config/nvim/shada
|
||||
# Miscellaneous desktop files
|
||||
desktop/
|
||||
tmux/.config/tmux/plugins
|
||||
|
|
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…
Reference in a new issue