Silvio Levy <[EMAIL PROTECTED]> 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

_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror

Reply via email to