dotfiles

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

commit f2de4d760e00812c0ec4a42706fb7eae7807bbb5
parent 01ec140262c094a243154c591969dfa834d9b57f
Author: Chris Noxz <chris@noxz.tech>
Date:   Mon,  4 May 2020 10:50:39 +0200

[vim] add {swap,backup,undo} to mkdir command

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

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