[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] Updated to 2.4, arrow keys now move word at a time. How

From: Benno Schulenberg
Subject: Re: [Nano-devel] Updated to 2.4, arrow keys now move word at a time. How to get old char at a time behaviour?
Date: Wed, 01 Apr 2015 14:27:13 +0200

On Wed, Apr 1, 2015, at 12:38, Daurnimator wrote:
> On 1 April 2015 at 21:35, Benno Schulenberg <address@hidden> wrote:
> > When I use nano inside tmux, the Ctrl+Left and Ctrl+Right
> > combinations stop working as word jumpers and just move
> > one character at a time, just like plain Left and Right.
> >
> > When I put
> >
> > set-window-option -g xterm-keys on
> >
> > in my ~/.tmux.conf, the Ctrl combinations work also in tmux.
> If I turn xterm-keys off in tmux I indeed no longer have word at a
> time movement.
> However, it turns off Ctrl+left/right for everything.... e.g. my bash
> command line

>From the FAQ at :

* Ctrl and arrow keys doesn't work in putty! What do I do?

putty inverts the sense of the cursor key mode on ctrl, which is a bit hard for
tmux to detect properly. To get ctrl keys right, change the terminfo settings
so kUP5 (Ctrl-Up etc) are the adjusted versions, and disable smkx/rmkx so tmux
doesn't change the mode. For example with this line in .tmux.conf (assuming you
have TERM set to xterm):

set -g terminal-overrides 

Note that this will only work in tmux 1.2 and above.

Worth a try, although it doesn't do anything for me.


-- - Access your email from home and the web

reply via email to

[Prev in Thread] Current Thread [Next in Thread]