I set the viminfo in my .vimrc for making startup faster. However the setting doesn't work.
The setting is:
set viminfo=%,\"100,'10,/50,:100,h,f0,n~/.vim/cache/.viminfo
When I tried to echo &viminfo
, the value was just the same as the older (maybe default) one:
I using vim 7.4 which was compiled and installed by myself, here is the version information:
$ vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Dec 17 2013 16:56:58)
Included patches: 1-131
And this is the source code installation configures:
./configure --enable-gui=gnome2 --enable-cscope --enable-multibyte --enable-xim --enable-fontset --with-features=huge --enable-pythoninterp=yes --enable-python3interp=yes --enable-rubyinterp=yes --enable-python3interp=yes --prefix=/home/marslo/.vim/tools/vim74 --with-compiledby=Marslo > vim-build.log
What's wrong with my setting? What should I do to make the setting work?
"100
instead of<100
? Could it be possible that you still have an old~/.viminfo
?\"
to<
. Thanks.