From 94a703da4d14f76d7602dcefcb1a43d7a3851763 Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Fri, 12 Feb 2016 11:23:44 -0600 Subject: [PATCH] Not sure what I did here, but apparently it was something... --- .vimrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index 36aaa1c..765fa1a 100644 --- a/.vimrc +++ b/.vimrc @@ -24,8 +24,9 @@ set backspace=indent,eol,start if has("vms") set nobackup " do not keep a backup file, use versions instead else + set dir=~/.vim/tmp " Set the swapfile location elsewhere to reduce breadcrumbs. set backup " keep a backup file (restore to previous version) - set backupdir=~/.vim/tmp " keep backup files in a specific directory instead of the same dir as the file being edited + set backupdir=~/.vim/tmp " keep backup (.swp) files in a specific directory instead of the same dir as the file being edited set undofile " keep an undo file (undo changes after closing) set undodir=~/.vim/undo " keep undo files in a specific directory instead of the same directory as the file endif