On 2020-08-31 23:36, [email protected] wrote: > I *think* you need to apply the :normal to the whole file unless the > macro itself does everything in one invocation. > > The @b macro only adds a single line of text.
If it's a whole line, you might have better luck with the :put command such as :argdo 0put='Line of text to put at the top' > The only other wrinkle is that I am working on a git local branch. That shouldn't impact anything. I regularly work on local git branches without issue. > When you set the arg list, where does it start? from your current > working directory? It depends a bit on how you populate it and how your OS expands globs, I suspect. Once you've populated it with :args **/inde*.md or whatever, you can check/display the arg-list by just issuing :args without additional parameters. I think your original glob didn't recurse into subdirectories, so you might also need to prepend "**/" to search into subdirectories :help starstar -tim -- -- 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/20200831185503.4c7e997e%40bigbox.attlocal.net.
