]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
vimrc: Remember marks for more files.
authorSimon Ruderich <simon@ruderich.org>
Sat, 14 Jan 2012 20:22:22 +0000 (21:22 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sat, 14 Jan 2012 20:22:22 +0000 (21:22 +0100)
vimrc

diff --git a/vimrc b/vimrc
index fecbf915c2e426b7bda41f85ec424e4ea34e1e45..bc6894408014a102e8c312be10081015b2709837 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -54,6 +54,11 @@ set history=1000
 " Increase number of possible undos.
 set undolevels=1000
 
+if has('viminfo')
+    " Remember marks (including the last cursor position) for more files.
+    set viminfo^='1000
+endif
+
 " Use strong encryption if possible, also used for swap/undo files.
 if exists('+cryptmethod')
     set cryptmethod=blowfish