~rockorager/vaxis#11: 
Support Ctrl / Alt / Shift + Arrows

Would be great if vaxis could recognize keys like Ctrl+Left or Shift+Up.

Status
RESOLVED CLOSED
Submitter
~skejg
Assigned to
No-one
Submitted
10 months ago
Updated
5 months ago
Labels
No labels applied.

~rockorager 10 months ago

On Tue Feb 20, 2024 at 11:04 PM CST, ~skejg wrote:

Would be great if vaxis could recognize keys like Ctrl+Left or Shift+Up.

This should be working already, I've tested both with and without kitty keyboard protocol and we can pick up these keys. Is it by chance in aerc you don't get them? I have a recent patch that enables this. https://lists.sr.ht/~rjarry/aerc-devel/patches/49698

~skejg 10 months ago

Hi! Thanks for your reply!

This should be working already [...] Is it by chance in aerc you don't get them?

Indeed, my bad, in :term they work. Probably, as you say, because vaxis does support them, and in :term my .inputrc or .vimrc do map them to some actions, like this:

"\e[1;3C": forward-word

or this:

nnoremap <S-Right> :tabmove +1<CR>

Now, would it be possible to bring the readline-like mappings (or maybe user's .inputrc?) to aerc itself? Like, I personally only interested in one thing: moving by word in To: / Subject: fileds and in aerc's : command line. It so frustrating that you can do it everywhere but not in aerc... :)

~rockorager 10 months ago

On Wed Feb 21, 2024 at 9:51 AM CST, ~skejg wrote:

Hi! Thanks for your reply!

This should be working already [...] Is it by chance in aerc you don't get them?

Indeed, my bad, in :term they work. Probably, as you say, because vaxis does support them, and in :term my .inputrc or .vimrc do map them to some actions, like this:

"\e[1;3C": forward-word

or this:

nnoremap <S-Right> :tabmove +1<CR>

Now, would it be possible to bring the readline-like mappings (or maybe user's .inputrc?) to aerc itself? Like, I personally only interested in one thing: moving by word in To: / Subject: fileds and in aerc's : command line. It so frustrating that you can do it everywhere but not in aerc... :)

Yeah, this should be possible. Can you make an issue on the aerc tracker?

~rockorager REPORTED CLOSED 5 months ago

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