Open carlwgeorge opened 6 years ago
I have set viminfo+=n~/.cache/vim/viminfo in my /etc/vimrc. The goal is to write the viminfo file under ~/.cache/vim instead of directly in ~. This works fine for vim, but vimpager ignores this setting and creates ~/.viminfo every time it is run.
set viminfo+=n~/.cache/vim/viminfo
/etc/vimrc
~/.cache/vim
~
~/.viminfo
I'm actually disabling viminfo, but perhaps not early enough, I'll take a look at this.
I have
set viminfo+=n~/.cache/vim/viminfo
in my/etc/vimrc
. The goal is to write the viminfo file under~/.cache/vim
instead of directly in~
. This works fine for vim, but vimpager ignores this setting and creates~/.viminfo
every time it is run.