Sunday, November 6, 2011

Re: copy the output of :%g command to a register

On 07/11/11 07:16, sinbad wrote:
> hi, how to copy the output of :%g command to a register
>
> cheers
>

The :g command produces no output; the output is from the ex-command
after the second slash in :[range]g/pattern/command.

For the default :p command, see :help :redir


Best regards,
Tony.
--
Uncle Ed's Rule of Thumb:
Never use your thumb for a rule. You'll either hit it with a
hammmer or get a splinter in it.

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