Thanks again for all of the great tips Tim!

>>     set viminfo='50,<1000,s100

> Strange.  You are correct that the viminfo setting you list
> *should* do the trick.  To evidence this, I started up vim,
> recorded a macro to the "q" register, ran it a couple times, and
> quit, then restarted vim, and tried "@a" again to execute the
> macro.  Worked like a charm.

I looked in my .viminfo file under the "#Registers:" section, and I
didn't see a "q" register.  I saw 0-9, and a few other letters, but no
"q".  So I guess it's not being written, but I can't imagine why not.

> My first suspicion would be that something is impolitely tromping
> on your viminfo setting.  You might try
>
>       :verbose set viminfo?
>
> to see if it's been changed elsewhere.  Then, grab a baseball bat
> and your cousins Guido, Fat Tony & Vinny and go "remedy" the
> problem. ;)

I added this to my .vimrc file, and when I close vim, my viminfo
settings are sent to stdout.  But that's the only time that I see my
settings.  My assumption is therefore that no other file is changing my
viminfo setting.  Also, I found these other files on my system that may
be affecting my viminfo settings (I use Debian Linux):

    $ locate vimrc | xargs grep viminfo
    /etc/vim/vimrc:set viminfo='20,\"50
    /usr/share/vim/vimrc:set viminfo='20,\"50

Thanks again!

Tom Purl

Reply via email to