Configure netrw to store its stuff in XDG_CACHE_HOME

This commit is contained in:
Danielle McLean 2016-10-07 00:02:00 +11:00
parent f17b1ed073
commit 2d5565ca5d
No known key found for this signature in database
GPG key ID: CC91589719027E94

1
.vimrc
View file

@ -6,5 +6,6 @@ endfor
set runtimepath=$XDG_CONFIG_HOME/vim,$XDG_CACHE_HOME/vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,$XDG_CONFIG_HOME/vim/after,$XDG_CACHE_HOME/vim/after
set viminfo+=n$XDG_CACHE_HOME/vim/viminfo
let g:netrw_home = $XDG_CACHE_HOME . '/netrw'
source $XDG_CONFIG_HOME/vim/vimrc