christoomey / vim-tmux-runner

Vim and tmux, sittin' in a tree...
MIT License
290 stars 37 forks source link

Protect against killing Vim pane if user has already closed runner #7

Closed christoomey closed 9 years ago

christoomey commented 11 years ago

If the user kills the runner VTR is unaware. If VTR then tries to kill the pane it will potentially kill the vim pane instead. Bad news. Instead, check (and cache) the number of panes prior to any commands and prompt for an update if the number has changed.