Israel wrote:
> When you search inside multiple files, TextWrangler shows the results
> in a two sections window, with the matches grouped by file names (can
> be folded) in one and the contents of the selected file in the other,
> there is the option to open the file in a new window also. This is
> just for search, I do not want to replace the matches.

You can do that with grep and the quickfix window:

- search for foo in all files *.bar
:grep foo *.bar

- open quickfix window
:cwindow

- cycle through files
:cnext
:cprev

- close quickfix window again
CTRL-W o (one of countless ways) 

even easier with some mappings:
map <F9> :cprev<CR>
map <F10> :cnext<CR>
map <F12> :cwindow<CR>

Also check :help grep and :help quickfix -> you can do a lot more ..

Regards, Andreas

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

Reply via email to