I'm trying to setup tmux to work like so:
- Outer session (level 0) on localhost with prefix C-a
- Inner session (level 1) on localhost with prefix C-b
- Inner session (level 1) on remote host with prefix C-b
So each inner session is nested directly in the outer session.
If I setup my .tmux.conf like this:
unbind C-b
set -g prefix C-a
bind-key -n C-b send-prefix
the local inner session receives the C-b prefix properly, but remote inner session doesn't.
If I change my tmux.conf to this:
unbind C-b
set -g prefix C-a
then the remote inner session receives C-b, but the local session doesn't.
Is there a way I can configure tmux so that both the local and remote nested sessions receive the C-b prefix?