X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=vimrc;h=49ccdfe41a784401b41b709f8a116455cecf710e;hb=cb06ad5988e1b0d06f851e0de56507323c6f42fa;hp=63741d7899f8f1fded8744a21c0d05125a29b570;hpb=d2e85549888b0fd53975a44fb669feacb70a393c;p=config%2Fdotfiles.git diff --git a/vimrc b/vimrc index 63741d7..49ccdfe 100644 --- a/vimrc +++ b/vimrc @@ -62,6 +62,8 @@ if filewritable('~/.tmp') == 2 || filewritable('~/tmp') == 2 endif " But store them in ~/.tmp or ~/tmp (already set by default) if available. set directory^=~/.tmp +" Never use /tmp which gets cleaned on reboot. +set directory-=/tmp " Disable modelines as they may cause security problems. Instead use " securemodelines (Vim script #1876).