Move swp files to ~/.cache

This commit is contained in:
coolneng 2019-08-27 01:07:55 +02:00
parent 47de293b33
commit a1b87ca455
1 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,9 @@ set nofoldenable
set expandtab set expandtab
set tabstop=2 set tabstop=2
set shiftwidth=2 set shiftwidth=2
" Don't litter swp files everywhere
set backupdir=~/.cache
set directory=~/.cache
""Keybindings ""Keybindings
set pastetoggle=<F2> set pastetoggle=<F2>
map <Space> :noh<CR> map <Space> :noh<CR>