Hi tomPorter!

On Fr, 09 Apr 2010, tomPorter wrote:
> Is there a way to create a new window and populate it with only the
> found items?

I would do it like this, which means
:redir => a              " redirect output into variable a
:g/&&/                   " print all lines matching the pattern &&
:redir end               " end redirection
:vert new                " open a new window
:put =a                  " put the result into that window


regards,
Christian

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to