diff options
author | Adam <adam.moloney.stuck@gmail.com> | 2021-12-04 22:37:36 +0100 |
---|---|---|
committer | adamstuck <adam.moloney.stuck@gmail.com> | 2021-12-04 23:23:18 +0100 |
commit | f45540aefcb9be0736a3bde718ea861d585615ee (patch) | |
tree | 509e99c9b407e457ecfb0a0d2cf8993691f76226 /.vim/vimrc | |
parent | 29e961ebecc388a6c61b622fb001240da6172888 (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 |