~sircmpwn/aerc2#465: 
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.
Status
REPORTED
Submitter
~xyank
Assigned to
No-one
Submitted
12 days ago
Updated
11 days ago
Labels
bug

~jeffas 11 days 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 11 days 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.