On 2011-11-06, sinbad wrote:
> hi, how to copy the output of :%g command to a register

    set nomore
    redir @a
    %g
    redir END
    set more

See

    :help redir

Regards,
Gary

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

Reply via email to