Re: Binding to CTRL + arrowkeys
On 2007-10-13, Felix 'buebo' Kakrow <spam@xxxxxxxx> wrote:
> Hello,
> I'm using mutt 1.5.16 with the sidebar patch and I'd like to use the ctrl +
> the arrow keys to move around in the sidebar.
>
> I've tried this in ~/.muttrc
>
> bind index \C<up> sidebar-prev
> bind index \C<down> sidebar-next
> bind index \C<right> sidebar-open
>
> but it doesn't work. Quotes don't change anything.
>
> Any ideas how this would work?
There is no standard way that I know of to send codes for those key
combinations from a terminal such as xterm to a terminal application
such as mutt. The standard capabilities and keys are described in
the terminfo man page.
To see what mutt receives when you type a key or key combination,
execute this in mutt:
:exec what-key
HTH,
Gary