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

keep zoom in vim panes #26

Open
pedro757 opened this issue Aug 15, 2021 · 4 comments
Open

keep zoom in vim panes #26

pedro757 opened this issue Aug 15, 2021 · 4 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@pedro757
Copy link
Contributor

pedro757 commented Aug 15, 2021

At first sight I thoght persist_zoom option was about keeping the vim pane zoom when re-enter that pane, instead is about preventing switching to other pane when zoomed in.

So It would be cool to keep the zoom in the vim panes, because I found myself constantly typing prefix + z to recover the zoom when switching to the vim panes

e.g.

image

When switching to vim pane

image

Maybe we can create this feature keep_zoom or something like that to achieve this behavior

@aserowy
Copy link
Owner

aserowy commented Aug 16, 2021

Cool idea. I have to think about scope and stuff. Ill mark it as enhancement.

Kind regards

@aserowy aserowy added the enhancement New feature or request label Aug 16, 2021
@pedro757
Copy link
Contributor Author

pedro757 commented Nov 11, 2021

I found this, for the select-pane keep the zoom if it was zoomed we need to add the flag -Z e.g.

select-pane -L -Z We could do this:

  1. Create a configuration option for this feature
  2. if the pane we are trying to switch is a nvim pane add the flag -Z. We can use this variable -> ${command} or ${pane_current_command}

What do you think?

@aserowy
Copy link
Owner

aserowy commented Nov 13, 2021

hmm, sounds good. Thus, while in zoom you can switch tmux panes and they will stay in zoom?

Kind regards

@aserowy
Copy link
Owner

aserowy commented Nov 13, 2021

I thought this behavior is plugin dependent. I am using folkes zen mode e.g. to get zoom capabilities.

@aserowy aserowy added the question Further information is requested label Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants