I have a problem with a simple macro I record and then want to play
back on all buffers (62 of them) using bufdo. Vim keeps throwing the
error E169: Command too recursive
The macro is quite simple:
qa
:%s/expectedMessage = &(((.*) *)(.*);/CsrMemCpy(expectedMessage, &((1
*) 2, sizeof(1));/
f,
insert newline
f,
insert newline
k
k
=}
:w!
q
I then use
:bufdo norm @a
...which then gives me the before mentioned error a lot of times. If I
run the macro on a single buffer I do not have this problem.
Any suggestions as to why I get the error? how do I fix it?
Cheers
--
Kim Schulz
--
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