> Hi,
>
> I use :g/pattern/p frequently to see where functions are used in a
> very large program. It would be very helpful to be able to see the
> output of this in a separate buffer with corresponding syntax
> highlighting.
>
> Is this possible? Is there a plug-in for this?
You could use Vim's builtin grep to perform the search and the quickfix
window to view the highlighted results...
:vim /pattern/ %
:copen
:help vimgrep
:help copen
Hope this helps...
Brett Stahlman
>
> Thanks in advance
>
--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment