Skip to content

NikoKS/vim-tmux-navigator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vim Tmux Navigator

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?

  1. Add edge detection to tmux navigation
  2. 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.

  1. inner tmux should not have tabs
  2. remove inner tmux status bar for cleaner look
  3. outer tmux with an ssh proccess running should not have split pane.

Usage

For a full usage instruction, please refer to the original repo page

About

Seamless navigation between tmux panes and vim splits

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vim Script 64.8%
  • Shell 35.2%