Monday, July 16, 2012

Re: vim: remember search & ex cmd history across vim reload

On 7/14/2012 6:11 AM, Simon Ruderich wrote:
> On Fri, Jul 13, 2012 at 05:08:15PM -0400, ping wrote:
>> hi:
>>
>> I kind of forgot somewhere (maybe user-manual) I saw a way to make vim
>> remember all search & ex cmd history, across vim instances, even remember
>> all history info after a vim reload.
>> but I couldn't find out how. is it viminfo manipulation or something else?
>> I need this since I find it might be useful to just get back a lengthy
>> search/external cmd back for a new doc...
>
> :help 'viminfo'
>
> The default value already saves the history (if 'nocompatible' is
> used).
>
> By default 'history' is used to control the number of saved
> entries:
>
> :help 'history'
>
> Regards,
> Simon
>

thanks for the response!
I just changed the history to 1000 and see if it helps.

regards
ping

--
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: