I think i figured it out; i was using one of the example configs from the
tmux site, and apparently this one had the C-arrow keys mapped to change
windows:
bind-key -n C-right next
bind-key -n C-left prev
While this apparently doesn't interfere with resize-pane in the local tmux,
it doesn't work with the nested one.
Commenting out those lines gives me the expected behaviour.
Best regards,
Olivier.
2011/1/28 Nicholas Marriott <nicholas.marri...@gmail.com>
> what does it show inside the first tmux if you do "cat" snd press C-Left?
>
>
> On Fri, Jan 28, 2011 at 12:06:23PM +0100, Olivier Keun wrote:
> > Thank you Nicholas.
> > I've have just tried adding "set-window-option -g xterm-keys on"
> globally,
> > or "setw -g xterm-keys on" from within tmux, but i'm seeing the same
> > behaviour. This is the relevant part from my config:
> > --- .tmux.conf ---
> > # set prefix key to ctrl-a
> > unbind C-b
> > set -g prefix C-a
> > # Allow passing through modifier keys to nested clients
> > set-window-option -g xterm-keys on
> > # send the prefix to client inside window
> > bind-key C-b send-prefix
> > ---
> > When i then issue C-a + C-b + C-Left in a nested pane, it still
> doesn't
> > resize but tries to select the next pane.
> > Anything else i might be missing here?
> > Thanks again,
> > Olivier.
> > 2011/1/28 Nicholas Marriott <[1]nicholas.marri...@gmail.com>
> >
> > tmux doesn't support C-Left, Right etc inside unless you set the
> > xterm-keys option.
> >
> > On Fri, Jan 28, 2011 at 01:00:26AM +0100, Olivier Keun wrote:
> > > This is probably a simple question:
> > > a) When i resize panes in a single tmux with C-b + C-Right, this
> works
> > > okay.
> > > b) When i do the same for a remote tmux this works fine too.
> > > c) When i open the remote tmux in the local tmux and then C-b +
> > > send-prefix + C-Right, the last Control seems to get lost and tmux
> > only
> > > acts as if Right was given. The result is that it switches panes
> > instead
> > > of resizing.
> > > What am i doing wrong or missing here?
> > > Thanks for any help,
> > > Olivier.
> >
> > >
> >
>
> ------------------------------------------------------------------------------
> > > Special Offer-- Download ArcSight Logger for FREE (a $49 USD
> value)!
> > > Finally, a world-class log management solution at an even better
> > price-free!
> > > Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> > > February 28th, so secure your free ArcSight Logger TODAY!
> > > [2]http://p.sf.net/sfu/arcsight-sfd2d
> >
> > > _______________________________________________
> > > tmux-users mailing list
> > > [3]tmux-users@lists.sourceforge.net
> > > [4]https://lists.sourceforge.net/lists/listinfo/tmux-users
> >
> > References
> >
> > Visible links
> > 1. mailto:nicholas.marri...@gmail.com
> > 2. http://p.sf.net/sfu/arcsight-sfd2d
> > 3. mailto:tmux-users@lists.sourceforge.net
> > 4. https://lists.sourceforge.net/lists/listinfo/tmux-users
>
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users