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> |
Status: | New --- | ||
Severity: | Affects Some People | CC: | gahr, w.schwarzenfeld |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(bapt) |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Petr Fischer
2016-10-04 23:53:11 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 :) 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? 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" Is this still relevant? (In reply to w.schwarzenfeld from comment #4) Yes. Did you try in neomuttrc? bind pager <up> previous-line bind pager <down> next-line 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 ... |