Re: Shift+Cursor keys in tmux

Benno Schulenberg <[email protected]>
Newsgroups gmane.editors.nano.general
Message-ID <[email protected]>
Op 07-02-18 om 18:02 schreef Andreas Schamanek:
> On Wed, 17 Jan 2018, at 12:14, Benno Schulenberg wrote:
>> It seems you can stop lilyterm from interpreting those keystrokes by 
>> rightclicking and disabling them in the [Set key binding] menu item.
> 
> This works now, thanks to your advice. BTW, strangely enough I had to disable 
> the bindings for lilyterm's "scroll_*" settings.

That sounds right.  Many terminal emulators use the Ctrl+Arrow keys or
Shift+Arrow keys to scroll through the terminal's history.

> However, it is still not working within tmux. For instance ^Left/Right + 
> Shift-Left/Right work everywhere for me, in xterm, in lilyterm, even in a 
> screen session, just not in a tmux. So far I tried different TERM settings
> and `set -g xterm-keys on` but to no avail.

That should be 'setw', not 'set'.  Putting

   setw -g xterm-keys on

in ~/.tmux.conf makes the modified arrow keys work for me.

Benno
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.