vim: use full path for backup files

master
Guillaume Dott 2019-04-15 13:59:06 +02:00
parent e2311bb711
commit 5901766725
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ set nocompatible
" XDG " XDG
set undodir=$XDG_CACHE_HOME/vim/undo set undodir=$XDG_CACHE_HOME/vim/undo
set directory=$XDG_CACHE_HOME/vim/swap set directory=$XDG_CACHE_HOME/vim/swap
set backupdir=$XDG_CACHE_HOME/vim/backup set backupdir=$XDG_CACHE_HOME/vim/backup//
set viminfo+='1000,n$XDG_CACHE_HOME/vim/viminfo set viminfo+='1000,n$XDG_CACHE_HOME/vim/viminfo
set runtimepath=$XDG_CONFIG_HOME/vim,$VIMRUNTIME,$XDG_CONFIG_HOME/vim/after set runtimepath=$XDG_CONFIG_HOME/vim,$VIMRUNTIME,$XDG_CONFIG_HOME/vim/after