mirror of
https://github.com/bertptrs/vimconfig.git
synced 2026-05-11 15:10:36 +02:00
Add some xdg-cache dirs to vim
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
*
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user