X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vimrc;h=a585717b03e14bae75e5fd247ad315770c781e9a;hb=d37065a3aca383c1663ec416a25ea54ede925b1b;hp=d8bd27c8471e480da246aa8d7693bb4089baedc5;hpb=da7ec5c2e94c93bc2965e4496824a3c2c687527b;p=config%2Fdotfiles.git 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