From 5901766725492efb2cd39cb26217f20d55e4bda7 Mon Sep 17 00:00:00 2001 From: Guillaume Dott Date: Mon, 15 Apr 2019 13:59:06 +0200 Subject: [PATCH] vim: use full path for backup files --- vim/vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/vimrc b/vim/vimrc index e8e5fb2..4d5394f 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -3,7 +3,7 @@ set nocompatible " XDG set undodir=$XDG_CACHE_HOME/vim/undo 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 runtimepath=$XDG_CONFIG_HOME/vim,$VIMRUNTIME,$XDG_CONFIG_HOME/vim/after