This plugin is a fork of christoomey's vim-tmux-navigator. This fork is created to add a nesting feature to the plugin so that navigation would work for a tmux window inside a ssh session inside a tmux window.
This fork also remove the auto-cycling behavior for tmux as I found it to be confusing
How?
- Add edge detection to tmux navigation
- Add check if running process is ssh. Pass keystroke if it is.
This way, it is up to the tmux inside the ssh session to interpret the keystrokes.
There are a few conventions to follow to make this effective for nesting tmux.
- inner tmux should not have tabs
- remove inner tmux status bar for cleaner look
- outer tmux with an ssh proccess running should not have split pane.
For a full usage instruction, please refer to the original repo page