Open raine opened 9 years ago
Hey @raine,
Could use better documentation, but :VtrFocusRunner
does exactly this. You can see the docs here: https://github.com/christoomey/vim-tmux-runner/blob/515f7d8730359495c09d1a79949520a7e1f20cab/doc/vim-tmux-runner.txt#L148-L153.
If you're using the builtin mappings then it is mapped to <leader>fr
.
I'll keep this open to remind myself to update the docs to clarify the behavior, but I think this should cover your needs.
Well, focusing doesn't exactly mean same thing as zooming the pane, but it might be possible to build upon that feature to make a command that zooms as well?
Sorry, docs are lacking but the functionality is there. VtrFocusRunner
does both a focus, and a resize -Z
. You can see the implementation here: https://github.com/christoomey/vim-tmux-runner/blob/515f7d8730359495c09d1a79949520a7e1f20cab/plugin/vim-tmux-runner.vim#L148-L152.
I likely should rename to FocusAndZoomRunner
and alias / deprecate the old function to better explain the behavior.
AH! Really sorry about the confusion, I'll try it out right away! :dizzy_face:
I vote for ZoomRunner
, focus is implicit.
Would be great there was a command that focused on runner pane and executed
resize-pane -Z
.