For a while I've looked for what for me would be the `perfect' grep: It would display each line containing a searched for pattern, with one or more context lines (so I can discern the lines Im looking for). When I clicked on one of these lines, the corresponding file would open with the cursor on the selected line.

Vim can almost do this, with its quickfix list. But when I choose options from an external grep that displays context lines surrounding each line containing a pattern -- vim gets upset. Is there a way to get vim to display a quickfix list containing context lines - and still goto to a selected file/line?

It would also be nice to have a quickfix list in one window of vim, and files that one could go to in a second window. Notepad++'s ``find in files'' feature almost does this - except for the context lines.

The payware version of Agent Ransack does all of this, because it costs money which of course makes it not `perfect'.



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

Reply via email to