> I'm not sure, but you might have to > :set history=200 > as well. > Jürgen Krämer
> Yes. The 'viminfo' `:' flag determines how many commands are *saved* > to the viminfo file; the 'history' option determines how many are > *restored* upon startup. There's a bit of asymmetry here, since > 'viminfo' defaults to 'history', but not the other way around. The > bottom line, as Jürgen indicates, is that you should set 'history' to > match 'viminfo' if you want to restore all the commands you save. > > Brett Stahlman Thank all of you, I understand and the problem has solved now. It needs to set 'history' as the same time. But I still don't understand why things become like this. I've look into the .viminfo file, and discovered that only 'history' lines of commands have been saved, not the one set in 'viminfo'. It is not so easy to understand for me. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
