Friday, June 15, 2012

Re: problem: redirection of global print to register

On Friday, June 15, 2012 11:23:58 AM UTC+3, Christian Brabandt wrote:

> To prevent this, you can use :exe if you want to put this in one
> single line, e.g.
> :redir @c|exe "g/a./"|redir END

I've learned a better way to make it one line from help:
:redir @c | g/a./^@redir END
where ^@ is one character, it's newline and it's inserted with C-V C-J

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