preservim / vimux

easily interact with tmux from vim
MIT License
2.2k stars 159 forks source link

added g:VimuxUseExistingPaneWithIndex configuration #90

Closed grekko closed 5 years ago

grekko commented 10 years ago

I use vimux in MacVim and want to run my rspec tests always in the first pane of my tmux session. This options enables me to do so.

To enable that setting only in MacVim and disable it for the terminal I added the following to my .vimrc.

if has("gui_running")
  let g:VimuxUseExistingPaneWithIndex = 1
end