diff options
author | adamstuck <adam.moloney.stuck@gmail.com> | 2021-12-06 08:52:37 +0100 |
---|---|---|
committer | adamstuck <adam.moloney.stuck@gmail.com> | 2021-12-06 09:13:29 +0100 |
commit | 225102b6bdd559510ada6d6dc9ba5b6eb0d70288 (patch) | |
tree | b5e4efd4102ea5a0b87fef502d3a576d3e97c77f /.vim/vimrc | |
parent | 587cfc5a3c80aa6521edd3a320fe76e161992723 (diff) |
Moved nvim viminfo file
Diffstat (limited to '.vim/vimrc')
-rw-r--r-- | .vim/vimrc | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -76,9 +76,8 @@ let g:netrw_home = $XDG_DATA_HOME."/vim" call mkdir($XDG_DATA_HOME."/vim/spell", 'p') set viewdir=$XDG_DATA_HOME/vim/view | call mkdir(&viewdir, 'p') +set viminfofile=$XDG_CACHE_HOME/vim/viminfo set backupdir=$XDG_CACHE_HOME/vim/backup | call mkdir(&backupdir, 'p') set directory=$XDG_CACHE_HOME/vim/swap | call mkdir(&directory, 'p') set undodir=$XDG_CACHE_HOME/vim/undo | call mkdir(&undodir, 'p') set undofile - -if !has('nvim') | set viminfofile=$XDG_CACHE_HOME/vim/viminfo | endif |