dotfiles

My collection of dotfiles
git clone git://git.noxz.tech/dotfiles
Log | Files | Refs

commit 01ec140262c094a243154c591969dfa834d9b57f
parent 5bfcfd0822d2a3d174049f3a02571dcbd9677f5e
Author: Chris Noxz <chris@noxz.tech>
Date:   Sat,  2 May 2020 21:53:03 +0200

[vim] make sure ~/.cache/vim exists

Diffstat:
Mvim/.config/vim/vimrc | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/vim/.config/vim/vimrc b/vim/.config/vim/vimrc @@ -35,6 +35,7 @@ if empty("$XDG_DATA_HOME") let $XDG_DATA_HOME="$HOME/.local/share" endif +autocmd FileReadPre * :silent !mkdir -p $XDG_CACHE_HOME/vim set directory=$XDG_CACHE_HOME/vim/swap,~/,/tmp set backupdir=$XDG_CACHE_HOME/vim/backup,~/,/tmp set undodir=$XDG_CACHE_HOME/vim/undo,~/,/tmp