I'm using vim with tmux.
I setup seemless pane switching between Vim splits and Tmux splits
With commands like this:
bind -n C-h run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-h) || tmux select-pane -L"
In my tmux config and it works great.
However, it breaks when I use git to start vim. For example:
git difftool --tool=vimdiff --no-prompt filename.rb
This command starts vim, but since it's through git seemless pane switching doesn't work because it looks to see is the pane is running process "vim" and it is not (it registers as "git").
Does anyone know of a way to fix this?