Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: re-zoom tmux pane when dispatch completes if it was zoomed at the start #140

Open
devth opened this issue Aug 5, 2015 · 5 comments

Comments

@devth
Copy link

devth commented Aug 5, 2015

This may be a long shot, and it's tmux-specific: I often zoom the tmux pane that vim lives in when I want to focus on writing code. I still need to dispatch to run builds/tests, but when it finishes it leaves me in a non-zoomed state. Could it detect zoom state at the start and re-establish that state at finish?

Info on how to detect zoom state: http://unix.stackexchange.com/questions/183370/tmux-identify-if-pane-is-zoomed-and-active

@tpope
Copy link
Owner

tpope commented Aug 7, 2015

I guess the best way to put it is "you tell me." I am open to the addition if a robust solution is possible.

@devth
Copy link
Author

devth commented Aug 11, 2015

tmux list-panes -F '#F' | grep -q Z

Returns 0 if the current pane is zoomed and return error 1 in case it isn't.

Are you expecting a PR? I guess that would involve me actually learning vimscript.

@tpope
Copy link
Owner

tpope commented Aug 12, 2015

Yeah I won't be implementing it until I need it personally.

@devth
Copy link
Author

devth commented Aug 12, 2015

Understandable. Yesterday I dove into the src a bit. We'll see if the pain gets bad enough.

@stfl
Copy link

stfl commented Oct 13, 2017

any updates on this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants