From d37065a3aca383c1663ec416a25ea54ede925b1b Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Fri, 12 Mar 2010 04:05:10 +0100 Subject: [PATCH] vimrc: Don't store swap files in the same directory as the edited file. --- vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vimrc b/vimrc index d8bd27c..a585717 100644 --- a/vimrc +++ b/vimrc @@ -23,6 +23,9 @@ set nocompatible set runtimepath-=~/.vim set runtimepath^=~/.vim,~/.vim/runtime +" Don't store swap files in the same directory as the edited file. +set directory-=. + " Disable modelines as they may cause security problems. Instead use " securemodelines (Vim script #1876). set nomodeline -- 2.44.2