aleclearmind / nested-tmux

A simple tmux configuration for nested tmux sessions
MIT License
111 stars 10 forks source link

Allow Ctrl-b to work in nested tmux #3

Open ccaominh opened 4 years ago

ccaominh commented 4 years ago

When starting a nested tmux, do not revert the tmux prefix in the parent tmux to the default (C-b) as it intercepts Ctrl-b from the nested tmux. Instead, bind the tmux prefix to C-F12, which is unlikely to be used and parallels the M-F12 binding used for active handler.

For example, to reproduce the problem:

1) Start tmux 2) Start vim in paraent tmux