Hi Aman!
On Fr, 10 Apr 2009, Aman Jain wrote:
> 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.
How about that:
com! -nargs=1 WinSearch :let win=winnr()|
\windo :exe ":sil! normal /<args>\<CR>"|
\exe win . 'wincmd w'
noremap n :let win=winnr()\|
\:windo :exe "sil normal! n"\|
\:exe win . 'wincmd w'<CR>
regards,
Christian
--
:wq!
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---