From 9a094523b6e9b9b2374fceb16637d156830c10dd Mon Sep 17 00:00:00 2001 From: Chun Li Date: Sun, 30 Sep 2018 15:27:58 -0400 Subject: [PATCH] Update swapfile location --- vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vimrc b/vimrc index 85bcad2..18431ff 100644 --- a/vimrc +++ b/vimrc @@ -36,7 +36,7 @@ set backspace=2 " Fix broken backsp set backupcopy=yes " see :help crontab set cc=100 " color column set clipboard=unnamed " yank and paste with the system clipboard -set directory-=. " don't store swapfiles in the current directory +set directory=/tmp/ " store swapfiles in tmp set encoding=utf-8 set expandtab " expand tabs to spaces set hlsearch " set highlight search