Hi All,
Yesterday, with the groups help, I was able to apply a macro to a group of 
Markdown files in my site directory, using:
:args ~/site/**/inde*.md
:argdo :normal @b
:argdo :write
(@b is a macro that searches for '---', moves up two lines, and inserts a new 
line, 'beta: true')
I THOUGHT this would work, but i found out it didn't make it through all the 
files. When I looked I found that one of the files was blank. Thinking that 
might have caused the macro to stop at that time, I removed the file, and 
changed all the other files back, and tried running it again. This time, it 
didn't get further, but the next file it should have processed, is legit, and i 
can run the macro on that individual file.

Are there limitations in trying to run a macro across a bunch of files like 
this? Has anyone else done this?
Thanks again!
Russ

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/1332550667.2337.1599089030863%40mail.yahoo.com.

Reply via email to