christoomey / vim-tmux-runner

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

Allow specifying the pane index with VtrAttachToPane #67

Closed christoomey closed 6 years ago

christoomey commented 7 years ago

Currently VtrAttachToPane only works interactively, but it would be nice to extend it to optionally take an argument and directly attach to that:

:VtrAttachToPane 1

Would also have the benefit of allowing discreet mappings for attachTo1 and attachTo2, etc.

vinodkri commented 6 years ago

Hi Chris, I needed this feature. I went ahead implemented it. I can push a PR and also update documentation if any? Let me know if it sounds good to you.