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.


Whoops...that should have read "recorded to register 'q', quit, restarted, and did '@q'". You'd be looking for whatever register you recorded to, not "q" particularly, unless you recorded to that one. The contents of that register, when you look in your viminfo file, should be some gibberish that is basically a the recorded contents of that register. Thus, if you record to register "k", and use "@k" for playback, you're looking for "k" in your viminfo file...

Sorry for the confusion there,

-tim




Reply via email to