.

vim-tmux-navigator

https://github.com/christoomey/vim-tmux-navigator

https://www.bugsnag.com/blog/tmux-and-vim

Allows to move between panes of vim/tmux with the same Ctrl+ hjkl

Install vim plugin with vundle

Plugin ‘christoomey/vim-tmux-navigator’

Then run :PluginInstall

#Install tmux plugin TPM

If you’d prefer, you can use the Tmux Plugin Manager (TPM) instead of copying the snippet. When using TPM, add the following lines to your ~/.tmux.conf:

set -g @plugin ‘christoomey/vim-tmux-navigator’ run ‘~/.tmux/plugins/tpm/tpm’

Set vim bindings

let g:tmux_navigator_no_mappings = 1

nnoremap <silent> {Left-Mapping} :TmuxNavigateLeft<cr>
nnoremap <silent> {Down-Mapping} :TmuxNavigateDown<cr>
nnoremap <silent> {Up-Mapping} :TmuxNavigateUp<cr>
nnoremap <silent> {Right-Mapping} :TmuxNavigateRight<cr>
nnoremap <silent> {Previous-Mapping} :TmuxNavigatePrevious<cr>