[Vimperator] Keyboard based text selection

Doug Kearns dougkearns at gmail.com
Fri Dec 14 06:26:19 PST 2007


On 12/14/07, centipede moto <cent1pede at hotmail.com> wrote:
>
> Yeah, I tried the visual bell, because I am a fool for the keyboard, and
> when I'm doing what selection I can with the keyboard, the beep fires every
> time I use Ctrl+Left etc - so visual bell was even more obnoxious as my
> screen would go black (or if I tweaked it, blank).

Yes, that's pretty nasty. Eventually you'll be able to map Visual Mode commands
too with :vmap.  Martin, perhaps in the meantime these 'standard' mappings
should be added?

Of course, you could just use "b". ;-)

> I think I could work just
> fine without the beep in any of the cases it would fire. If there are others
> that feel the same, it might be a good idea to allow users to turn if off
> completely etc.

There's several ways to do so now.  The simplest are to add either

#vimperator-visualbell { display: none; }

to your userChrome.css file [1] or the following to your RC file:

js document.getElementById("vimperator-visualbell").style.display = "none";

I was waiting for some bugs to be fixed in Mozilla's new panel element before
bothering with a proper 'visualbellstyle' in 0.6pre.

Regards,
Doug

[1] http://vimperator.cutup.org/index.php?title=Configuration#Customizing_the_Appearance_of_Vimperator


More information about the Vimperator mailing list