1
0
mirror of https://github.com/bertptrs/vimconfig.git synced 2025-12-25 20:40:32 +01:00

Add some xdg-cache dirs to vim

This commit is contained in:
Bert Peters
2016-10-03 11:38:43 +02:00
parent 05fb050acd
commit ca4ae79c5b
5 changed files with 7 additions and 0 deletions

1
vim/.cache/vim/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
*

View File

View File

View File

View File

@@ -37,3 +37,9 @@ autocmd Filetype markdown setlocal textwidth=72
" Remove trailing whitespace, always. " Remove trailing whitespace, always.
autocmd BufWritePre * :%s/\s\+$//e autocmd BufWritePre * :%s/\s\+$//e
" Keep backup files etc out of the way
set undodir=~/.cache/vim/undo " vim will not create this directory.
set directory=~/.cache/vim/swap " vim will not create this directory.
set backupdir=~/.cache/vim/backup " vim will not create this directory.
set viminfo+=n~/.cache/vim/viminfo