[Conkeror] Binding RET to C-m

John J Foerch jjfoerch at earthlink.net
Sat Nov 3 08:18:28 PDT 2007


Oleg Katsitadze <olegkat at gmail.com> writes:
> 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.
>

Hi Oleg,

The following works in the current version, from either `master' or
`experimental' in our git repository (repo.or.cz).

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

There have been a number of important changes related to key handling
in recent versions of conkeror, and since I think of conkeror as
`alpha' software, my recommendation is to stay on the bleeding edge,
and update your rc file whenever we break something.

--John



More information about the Conkeror mailing list