diff options
author | Adam <56338480+adastx@users.noreply.github.com> | 2021-12-06 08:52:37 +0100 |
---|---|---|
committer | Adam <56338480+adastx@users.noreply.github.com> | 2021-12-06 09:14:25 +0100 |
commit | 008cd984c71803a66736f3bd203806367fdbc0f8 (patch) | |
tree | ea260b391d565e5d892b56111556b67ca24aa6e7 /.vim/vimrc | |
parent | 8e2da7c68fb56245396d954cf1974765b281d924 (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 |