abo-abo / avy

Jump to things in Emacs tree-style
1.71k stars 109 forks source link

Not working on non-ASCII #319

Open licht1stein opened 3 years ago

licht1stein commented 3 years ago

I love avy and I think it's the best thing since sliced bread.

Is it possible to use currenly active input method for avy target keys? Or maybe there's a hook I can use to temporarily remap keys?

a13 commented 3 years ago

@licht1stein do you know about https://github.com/a13/reverse-im.el ?

licht1stein commented 3 years ago

@licht1stein do you know about https://github.com/a13/reverse-im.el ?

Wow, this looks exactly like what I need. Even the language is the same :)

Thank you!

a13 commented 3 years ago

@licht1stein welcome, take a look at the extended configuration example, AFAIR avy target chars translation requires reverse-im-read-char-advice-function to be customized

a13 commented 3 years ago

here's my setup (note that the input method is a custom one) https://github.com/a13/emacs.d/blob/master/init.el#L1568

a13 commented 3 years ago

last, but not least, reverse-im is still a hack, so I can't guarantee it will work everywhere, feel free to report issues