I am using spacemacs (using evil mode) and want to apply a vim macro (keyboard defined or otherwise) to the files resulting from a search in helm-ag.

I'm thinking the easiest way would be to apply a vim shell command using the desired macro to all the files, but I can't see anyway to do so using helm-ag. Is there a way to do this straight from helm-ag or would I need to copy the file names to a buffer and then extract the file names and paste them into the command line?

Am I on the right path on how to accomplish this?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.