]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - vimrc
vimrc: Use strong encryption if available.
[config/dotfiles.git] / vimrc
diff --git a/vimrc b/vimrc
index 0940c45b58ab203cc364c50d5e949de4898ca355..d0371b559d90896cd8a629b08731fd4c3d5e431c 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -43,6 +43,11 @@ set nomodeline
 " possible files.
 set wildmode=longest,list
 
+" Use strong encryption if possible, also used for swap/undo files.
+if v:version >= 703
+    set cryptmethod=blowfish
+endif
+
 
 " EDIT SETTINGS