Vim: Capturing search results

You can capture the search results from the :g/ command in Vim into a register for later use:

Leave a Reply

Your email address will not be published. Required fields are marked *