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

Option to have wezterm only flatten if in the same pane #96

Open
Irubataru opened this issue Mar 11, 2024 · 3 comments
Open

Option to have wezterm only flatten if in the same pane #96

Irubataru opened this issue Mar 11, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@Irubataru
Copy link

Would it be possible to have instances in wezterm only flatten if the neovim instance is in the same pane?

I really like the flatten feature for when I am using splits, but when I am using tabs it's quite confusing. It took me a while to realise that it was the flatten feature that made my neovim instances instantly close becasue I had one open in a different tab 😅 I could of course disable wezterm flattening, but it would be neat to have it for just splits, when the neovim instance is visible, and it is obvious what is happening.

@Irubataru Irubataru added the enhancement New feature or request label Mar 11, 2024
@willothy
Copy link
Owner

Definitely should be doable by customizing the callbacks. I'll look into this soon!

@willothy
Copy link
Owner

I have actually implemented this in my own config, not sure why I never updated here - did you implement it as well or are you still interested in my solution?

I have it for wezterm tabs since I don't really use panes, but the code should work the same if you replace the wezterm.nvim tab function calls with pane function calls.

@Irubataru
Copy link
Author

I never implemented it, and ended up disabling wezterm intergation. If you have a working solution I'd love to see if I can get it working with panes ^^

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

No branches or pull requests

2 participants