From: "Yakov Lerner" <[EMAIL PROTECTED]>
Subject: Re: History and "set history=xx"
Date: Sun, 30 Apr 2006 14:41:58 +0300

> On 4/30/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
> > From: "Yakov Lerner" <[EMAIL PROTECTED]>
> > > On 4/30/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
> > > >  In my ${HOME}/.vimrc I
> > > >         set history=100
> > > >  after restarting vim I did
> > > >    :set history<CR>
> > > >  output is
> > > >   20
> > > Try this:
> > >   :verb set history?
> > >
> > > Will tell you which script last changed the setting.
> > Tells me, that ~/.vimrc did it.
> 
>  How about this.
> (1) Add this
> 
>     echo "111111 history=".&history
> 
> to your .vimrc right after the 'set history=100' line.
> (2) Add this:
> 
>     echo "999999 history=".&history
> 
> at the very end of your .vimrc.
> (3) Restart vim. What do you see ?
> 
> Yakov
> 

This is displayed:

111111 history=100
999999 history=20
Press ENTER or type command to continue


Seems that something else is fiddeling with this value...
Are there any implicite ways to (re-)set the history count ?
A "reset all" or something like that ?

Reply via email to