I think of avy's default interaction as "modal" in the vi sense:
press a key combination (associated to e.g. avy-goto-word-1)
release key combination
a different input mode is entered
press a modifier-less key (e.g. e)
some processing is done (words beginning with e are highlighted)
press another modifier-less key (e.g. a)
some more processing is done (e.g. cursor moves to "e.g.")
editor returns to the previous input mode
I looked at the unused AltGr key on my keyboard and wondered, would an Emacs-style modeless interaction be possible?
press a modifier key
don't release it
press e
words beginning with e are highlighted
press a
cursor moves to "e.g."
release modifier
My hunch is no, because Emacs will wait for a key sequence to be complete before doing any processing; unless we "fake" it by creating key bindings for all possible combinations in advance. But maybe I'm wrong?
I think of avy's default interaction as "modal" in the vi sense:
avy-goto-word-1
)e
are highlighted)I looked at the unused AltGr key on my keyboard and wondered, would an Emacs-style modeless interaction be possible?
e
are highlightedMy hunch is no, because Emacs will wait for a key sequence to be complete before doing any processing; unless we "fake" it by creating key bindings for all possible combinations in advance. But maybe I'm wrong?