diff options
Diffstat (limited to 'vim')
-rw-r--r-- | vim/vimrc | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -10,8 +10,10 @@ endif if !exists($XDG_CACHE_HOME) let $XDG_CACHE_HOME=expand('~/.cache') endif -set directory=$XDG_CACHE_HOME/vim//,/var/tmp//,/tmp// -set backupdir=$XDG_CACHE_HOME/vim,/var/tmp,/tmp + +set directory=$XDG_CACHE_HOME/vim/swp//,/var/tmp//,/tmp// +set undodir=$XDG_CACHE_HOME/vim/undo//,/var/tmp//,/tmp// +set backupdir=$XDG_CACHE_HOME/vim/backup,/var/tmp,/tmp set viminfo+=n$XDG_CACHE_HOME/vim/viminfo set rtp=$XDG_CONFIG_HOME/vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,$XDG_CONFIG_HOME/vim/after @@ -100,6 +102,7 @@ set sta set sw=4 set ts=4 set ttyfast +set udf set wmnu if has('gui_running') |