> hi, how to copy the output of :%g command to a register
>
> cheers
The % is not needed as the default is 1,$
First clear register a
qaq
Append all lines containing foo to register a
:g/foo/y A
-Bill
--
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