X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=vimrc;h=4c5f852c15f3f20d40a662f533f53225dec96db6;hb=be514bc4c2d011f8e89136fa3ea5299338d1f4fc;hp=97d0c371cfdce3393c500537e02bc7e53cf31200;hpb=2cc93b7ada0b925d1ccecfa19a8b3f04cba13f2b;p=config%2Fdotfiles.git diff --git a/vimrc b/vimrc index 97d0c37..4c5f852 100644 --- a/vimrc +++ b/vimrc @@ -34,6 +34,8 @@ set runtimepath^=~/.vim,~/.vim/runtime " Don't store swap files in the same directory as the edited file. set directory-=. +" But store them in ~/.tmp if available. +set directory^=~/.tmp " Disable modelines as they may cause security problems. Instead use " securemodelines (Vim script #1876).