[Vimperator] [RFC] How to handle text fields

Martin Stubenschrott stubenschrott at gmx.net
Thu Apr 19 08:38:22 PDT 2007


On Thu, Apr 19, 2007 at 11:26:24AM -0400, Bart Trojanowski wrote:
> I was thinking something like:
> 
>  ^w e - launch external editor on text box that's in focus.

Something like this still could be implemented, with a different
shortcut though, as ^w is such an important vim key.

> We essentially have 4 modes.

With hint modes there are many many more modes ;)

> - default mode for navigating the whole page
> - normal mode for text box
> - visual mode for text box
> - insert mode for text box
> 
> So I like the <ESC><ESC> to get back to normal navigation mode.
> 
> What if you (also) treat the text boxes like vim windows ?
> 
>  ^w j  - go to the entry field above
>  ^w k  - go to the entry field below

I think using (Shift-)<Tab> is ok for switching entry fields. And it's
up to the webpage developer to have the correct tab ordering.

> I like how "It's all text" uses the background colour of the text box to
> indicate what it's doing.  It makes it easy to spot which text box I am
> entering data into.
> 
> Maybe you could change the background to some pastel colour, when you are in
> one of the "text box" modes.

Great idea, as I can't change the text cursor shape anyway, this would
be good to differentiate between these modes.


More information about the Vimperator mailing list