Smart navigation between vim and tmux