On 2008-10-28, Andreas Mueller <[EMAIL PROTECTED]> wrote: > 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
Those traverse the list by match. To jump to the next or previous file in the quickfix list, use :cnf :cpf I don't know whether or not you can use folding within the quickfix window to fold all the matches to one fold per file. It seems that it should work. That would be really nice. I'll have to try that. Regards, Gary --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
