[Conkeror] carriage return - context sensitivity
John J Foerch
jjfoerch at earthlink.net
Tue Apr 8 07:36:15 PDT 2008
Silvio Levy <levy at msri.org> writes:
> I like to have carriage-return scroll back, so I wrote
>
> define_key(content_buffer_normal_keymap, "return", "cmd_movePageUp");
>
> in my RC file. This makes it act weird when filling in forms. But
> the mode when filling in a form is presumably different - for instance,
> in content_buffer_normal_keymap I bind "j" to "cmd_scrollLineDown",
> but in filling a form the "j" key inserts a j.
>
> Any suggestions?
>
> Silvio
To override those keys in text fields, bind them in
content_buffer_text_keymap. Do you seriously never use your Enter or J
key when typing in form fields??
There is also content_buffer_textarea_keymap, which inherits from
content_buffer_text_keymap, but provides more bindings appropriate to
textareas.
--John
More information about the Conkeror
mailing list