Mac – How to set up seamless navigation of vim and iterm2 splits

itermmacvimvi

I am trying to map my C-h, C-j, C-k, C-l keys to be able to navigate vim (running in iterm2) splits but if there is no vim split to move to it should figure out that I want to jump to a different iterm2 window.

Pretty much this http://robots.thoughtbot.com/seamlessly-navigate-vim-and-tmux-splits but without having to run tmux (or at least without needing tmux to do the multiplexing)

Best Answer

Apparently, there is this. I have not tried it, and it looks like it may not work in the latest iterm2.