I have just pushed patches that implement that (in my config, see Users/JP)
This should also help writing input methods.

Cheers!
-- JP

On Thu, Jan 8, 2009 at 9:45 AM, Jean-Philippe Bernardy
<[email protected]> wrote:
> Best would be to compose the keymap with some "preprocessor" that transforms
> Esc + key into Meta-key.
>
> I'll take a look at this.
> -- JP
>
> On Thu, Jan 8, 2009 at 4:34 AM, chylli <[email protected]> wrote:
>>
>> in emacs, when you press esc + char, it is same as meta + char, how to
>> get it ?
>>
>> I tried something like this :
>>         defaultKm = Emacs.keymap <|>
>>                       (ctrl (char '>') ?>>! increaseIndent) <|>
>>                             (spec KEsc ?>> esc)
>>
>> ......
>>    where
>>    esc = choice [char 'x' ?>>! executeExtendedCommandE]
>>
>> but I must write lots of keys from char 'a' to 'z' and it is not
>> elegent.. how to do that ?
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to