From: Simon Ruderich Date: Sat, 14 Jan 2012 20:22:22 +0000 (+0100) Subject: vimrc: Remember marks for more files. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=2019bdf43c4749cc2093f422036654a9d5b6711f;p=config%2Fdotfiles.git vimrc: Remember marks for more files. --- diff --git a/vimrc b/vimrc index fecbf91..bc68944 100644 --- 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