diff options
author | Adam <56338480+adastx@users.noreply.github.com> | 2021-12-04 22:37:36 +0100 |
---|---|---|
committer | Adam <56338480+adastx@users.noreply.github.com> | 2021-12-04 22:37:36 +0100 |
commit | 6029c1e505692d6c0b0eb9a52fb214a094ff9aba (patch) | |
tree | 836415f325d197b4e4bad107be15ab6fdc77f32e /.vim/vimrc | |
parent | df6ede9750fb6bda76c14e256aa82b17be0bfb47 (diff) |
Vim/nvim undo history in .cache
Diffstat (limited to '.vim/vimrc')
-rw-r--r-- | .vim/vimrc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -77,5 +77,6 @@ set viewdir=$XDG_DATA_HOME/vim/view | call mkdir(&viewdir, 'p') 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 |