[Vimperator] Can the tabs be numbered? & command "B"

Martin Stubenschrott stubenschrott at gmx.net
Tue Apr 24 05:17:26 PDT 2007


On Mon, Apr 23, 2007 at 07:24:04PM -0700, Lars Kindler wrote:
> Hi Martin,
> 
> sorry about that,  I have never used diff before. The line in question 
> is supposed to go into the function preview_window_show().

Please have a look at the current CVS code. I applied most of your code
(all apart from the setTimeout() which I couldn't find where it belongs
to - and yes 200ms make a difference in percepted speed, so please make the
code conditional of whether the buffer-window is shown).

I just moved most of the code to the new eventhandling code in vimperator.js,
lines 800-850.

However, it is not working as expected here, you don't get updates
in the buffer list, even if modifyig the currently visible tab. Only
after pressing 'B' a 2nd time, it is updated (instead of closing the
window!).

Hopefully, I didn't do anything wrong when appying the patch.
But please have a look into it, and provide an updated patch as I don't
have the time this week to fix this problem myself.

--
Martin


More information about the Vimperator mailing list