[Conkeror] Binding RET to C-m

Oleg Katsitadze olegkat at gmail.com
Fri Nov 2 02:46:31 PDT 2007


Hi John,

Thanks for the tips.

On Thu, Nov 01, 2007 at 03:09:36PM -0400, John J Foerch wrote:
> In a browser buffer,
> hitting RET to follow the focused link is not actually a conkeror key,
> but a gecko key.  For that one you would need to make a new command.

Oh well, that's not very important.  I rarely (if ever) follow links
by tabbing to them and pressing RET.  The big thing is the minibuffer :).

> For other places where RET is used, just look through bindings.js, and
> copy the relevant binding commands into your rc file, and change them
> appropriately.

I've tried this in my rc file:

  define_key (minibuffer_kmap, make_key  ("m",MOD_CTRL), "exit-minibuffer");

but when I restart Conkeror, I'm presented with a pop-up error box:

  ReferenceError:  minibuffer_kmap is not defined

and C-m doesn't work in the minibuffer, of course.

The funny thing is that in the same rc file, I define keys for
top_kmap and input_kmap, and they work perfectly.  Looking at
bindings.js, I don't see how minibuffer_kmap is so much different from
input_kmap.  Please help :).

Thanks,
Oleg


More information about the Conkeror mailing list