Unbind them in the outer tmux.
-------- Original message --------
From: Jonathan Romiguier <jonathan.romiguier@...>
Date: 11/09/2013 09:32 (GMT+00:00)
Subject: bind-key -n in nested tmux session
I like to switch pane with just <C-j> and <C-k>, so I set my tmux.conf with :
bind-key -n C-j select-pane -t :.+
bind-key -n C-k select-pane -t :.-
Problem, when I run a nested tmux session (on a server by example), I can't use these bindings. I am aware of the send-prefix trick (press the prefix key two time by default), but here <C-j> seems always interpreted by the first tmux session. How can I send them to the nested session ? Can I set an option to say to tmux that I want to give the priority to the inner nested session ?
Thanks for your answers,