On Aug 7, 2014 2:54 PM, <[email protected]> wrote: > As you can see, if I select my default .viminfo as the viminfo to load, it works--as long as I didn't use -u.
When you don't specify -u, Vim does its own search for a vimrc file and finds ~/.vimrc. As documented in ":help 'cp'", when the search finds a vimrc, 'compatible' is turned off. This means that the Vim default for the 'viminfo' option is used. When you do specify -u, Vim doesn't do the search and just uses the file specified. In this scenario, 'compatible' is not turned off because your file hasn't disabled it, so the vi default for the 'viminfo' option is used. Cheers, James -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
