> I often edit multiple buffers (placed horizontally/vertically) and

Just to clarify, I think you mean "windows" in 
vim-speak...windows are the visual portals into buffers (you can 
have zero or more windows for a particular buffer)

> need to know what all files contain a particular symbol(say a function
> definition, declaration, usage etc).
> But I have to manually visit each buffer and press 'n' to find whether
> that buffer contains the symbol or not.
> 
>  I wish to see the location of all the buffers change to the next
> symbol occurrence with a single keystroke ('n') .
> I tried using scrollbind, but it just scrolls the buffers by equal
> number of lines.

referencing my last post to the list, you may be able to use the 
windo/argdo/bufdo commands, something like one of these

   :windo sil! /regexp
   :windo sil! /
   :windo sil! norm n

any of which can be mapped to whatever key you like.

-tim



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

Reply via email to