|Summary:||mail/neomutt: Ctrl+arrow keys don't work|
|Product:||Ports & Packages||Reporter:||Petr Fischer <petr.fischer>|
|Component:||Individual Port(s)||Assignee:||Baptiste Daroussin <bapt>|
|Severity:||Affects Some People||CC:||gahr, w.schwarzenfeld|
Description Petr Fischer 2016-10-04 23:53:11 UTC
Ctrl+arrow keys don't work in bottom edit line (while entering To: or while entering limit string etc.). Normally - Ctrl+left/right arrow keys skip over words, don't work in neomutt. There is shown chars "[1;5C" or "[1;5D" for Ctrl+right/left arrow keys. Also, in freebsd port "mutt", I can bind keys like this: bind index,pager <C-Up> sidebar-prev bind index,pager <C-Down> sidebar-next bind index,pager <C-Right> sidebar-open These sidebar hotkeys don't work in "neomutt". It behaves like "unbinded" when I press them. Is ".inputrc" needed for neomut "bottom edit/command line"? Everything tested in xterm.
Comment 1 Baptiste Daroussin 2016-11-26 14:17:42 UTC
I can confirm both issues, I have no time right now to dig into them I have CCed gahr@ maybe he will have more time or insight :)
Comment 2 Pietro Cerutti 2016-11-26 15:37:06 UTC
I am currently on a macbook, connected via ssh to a FreeBSD server, and running inside tmux on the server. I can skip words with alt-right and alt-left in the shell, and that works in neomutt too. I will test from a non-mac machine next week. Unfortunately ctrl is intercepted by OSX, so I can't test the sidebar part either. Using esc instead of ctrl works, though. Can you please confirm that?
Comment 3 Petr Fischer 2016-11-26 19:57:29 UTC
Tests: 1) alt+left/right in xterm bash shell This keys geneated "D" and "C" letters 2) alt+left/right in neomutt (in search input field) Keys generated "[1;3D" and "[1;3C" 3) Ctrl+left/right keys in xterm bash shell (but I have this in .inputrc) --- "\e[1;5C": forward-word # ctrl + right "\e[1;5D": backward-word # ctrl + left --- This keys are working (due to .inputrc config) 4) Ctrl+left/right keys in neomutt (in search input field) Keys generated "[1;5D" and "[1;5C" 5) ESC instead of Ctrl key + up/down Nothing. Key is not bound. 5) ESC + arrow keys in xterm bash shell generated this chars: "[B", "[A", "[D", "[C"
Comment 4 Walter Schwarzenfeld 2018-01-14 00:52:13 UTC
Is this still relevant?
Comment 6 Walter Schwarzenfeld 2018-01-15 01:59:41 UTC
Did you try in neomuttrc? bind pager <up> previous-line bind pager <down> next-line
Comment 7 Petr Fischer 2018-01-15 07:00:15 UTC
Up and Down keys are OK. This keys (Ctrl+Arrow Keys) are not working (it's in my first comment here): [.muttrc file] ... bind index,pager <C-Up> sidebar-prev bind index,pager <C-Down> sidebar-next bind index,pager <C-Right> sidebar-open ...