aerc swallows keys for keybind prefixes

If aerc has keybinds set like

rr = reply
rq = reply -q

it doesn't forward the common prefix to the underlying term

Steps to reproduce:

  1. Open an email
  2. Press "/" ( assuming less as pager)
  3. Type "r". Nothing comes up on the screen.
  4. Type "r" again. Now aerc takes this as the "rr" command and opens a tab for you to reply.
  5. Close compose tab, goto step 2. Next, type "rq" in the search box. Now aerc takes this as the "rq" command and opens a tab to reply, with quoted text.
Assigned to
2 years ago
2 years ago

~jeffas 2 years ago

I think this is working as currently implemented as shortcuts have precedence over passing keys through to the terminal. Perhaps we could have some modal mechanism for the terminal so when selected it allows all keys to be passed through except a mappable escape command to go back to 'aerc' mode?

~labrat 2 years ago

as currently implemented is a nice way of saying the behaviour is shit :D

it should be vim like, hold if a prefix is being entered but if a certain timeout is exceeded forward to the underlying term

Register here or Log in to comment, or comment via email.