From a1b87ca4559374761155e33469f3b7c69bc01b8a Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 27 Aug 2019 01:07:55 +0200 Subject: [PATCH] Move swp files to ~/.cache --- vim/.vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vim/.vimrc b/vim/.vimrc index 47a2d8e..a0f2164 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -10,6 +10,9 @@ set nofoldenable set expandtab set tabstop=2 set shiftwidth=2 +" Don't litter swp files everywhere +set backupdir=~/.cache +set directory=~/.cache ""Keybindings set pastetoggle= map :noh