]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
vimrc: Use strong encryption if available.
authorSimon Ruderich <simon@ruderich.org>
Mon, 13 Sep 2010 15:32:22 +0000 (17:32 +0200)
committerSimon Ruderich <simon@ruderich.org>
Mon, 13 Sep 2010 15:32:22 +0000 (17:32 +0200)
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