Wednesday, June 29, 2011

Re: Improved saving of history in viminfo

On 30/06/11 12:10 AM, ZyX wrote:
> It is known that if you launch multiple vim instances and then exit every
> instance will overwrite history stored in viminfo, so only history from the last
> vim instance will be added. Example:
>
> Initial viminfo: one command ":echo 'Abc'" in history.
> 1. Launch vim 1, run ":echo 'Def'".
> 2. Launch vim 2, run ":echo 'Ghi'".
> 3. Exit vim 2.
> 4. Exit vim 1.
> Viminfo history: ":echo 'Abc'", ":echo 'Def'".
> Proposed history: ":echo 'Abc'", ":echo 'Ghi'", ":echo 'Def'".
>
> How do you handle this situation (please don't reply if you ignore this issue)?
>
> I have written a plugin for this, but guess it can be improved.

Yeah, I'd be interested in seeing this improved and/or checking out the
plugin.

Ben.

--
You received this message from the "vim_use" 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

No comments:

Post a Comment