summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-08-29 22:02:10 +0200
committerAnton Khirnov <anton@khirnov.net>2023-08-29 22:02:10 +0200
commitb493313bf1346ce51d120e697c2f30111a4973da (patch)
treee41207d50c6cb46dc1187553a1e35003da7041bf
parent3ab511ecea05f84ef70eaa206d91fc9318be7ff2 (diff)
vimrc: construct vim swap/bkp files from full path
-rw-r--r--vim/vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 52c2456..7e7231b 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -57,8 +57,8 @@ set statusline+=%=
set statusline+=%(%l,%c%V\ %=\ %P%)
" use standard places for the vim state files
-set dir=~/.cache/vim/swap
-set backupdir=~/.cache/vim/bkp
+set dir=~/.cache/vim/swap//
+set backupdir=~/.cache/vim/bkp//
set undodir=~/.local/var/vim/undo
set viminfo+=n~/.local/var/vim/viminfo