Thursday, December 3, 2009

Re: quickfix (Was: )

On Dec 3, 12:21 am, Tony Mechelynck <antoine.mechely...@gmail.com>
wrote:
>
> If I misunderstod you, please try to formulate your question more clearly.
>

I think the OP wants to open each file name from the result list in a
new buffer/window/tab.

I would just enter a command to go to the next hit:

:cnext<Enter>

Then re-run the command as many times as needed:

99999@:

This will automatically terminate when an error (such as "E553: No
more items") is encountered. After this, you will have loaded each
buffer.

You could tweak it using the switchbuf option to open a new window or
tab for each result, except when there is already a window/tab open,
with :set switchbuf=split,useopen or newtab,usetab.

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments: