Alright, I'll try to look into it and possibly find a way to do it. Thanks for the help!

On 12/6/20 11:03 PM, Ram Krishnan wrote:
Brandon Hale <bthaleproducti...@gmail.com> writes:

Hello all,

I have just started playing with (define-remapped-keys) and was
wondering if there is a way to get multiple keys sequences in a
program to do one thing. Basically I want to do something like this:


(define-remapped-keys

     '(("(firefox|Chrome)"

      (("C-x" "C-h")   . "C-a"))))

I envision that me pressing C-x, then C-h, will allow firefox to do
the C-a key binding. Is there a way to do this and I just don't know
the syntax, or is this impossible?
This isn't currently supported in the remap-keys feature. It shouldn't be too 
hard to implement, but does require something similar to the keymap handling 
behavior to be added. Unfortunately, I don't think the existing keymap handling 
could be directly applied as remap-keys is more of a translation of one key 
sequence to another - but, maybe there's a clever way to reuse the existing 
code.


Thank you very much for your help!,

Brandon Hale

Reply via email to