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

Support resizing windows #36

Open
JonathanArns opened this issue Aug 13, 2022 · 2 comments
Open

Support resizing windows #36

JonathanArns opened this issue Aug 13, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@JonathanArns
Copy link

JonathanArns commented Aug 13, 2022

I would like similar resizing functionality to what is possible with tmux integration plugins, bound for example to <a-h> <a-j> ...

It should resize the vim window if possible in the selected direction, otherwise resize the containing kitty window.

Currently I use my own DIY nvim kitty integration, quite similar to this plugin, but if you were to get this feature going, I would rejoice and start using this plugin.

@knubie
Copy link
Owner

knubie commented Aug 13, 2022

@JonathanArns Not a bad idea, would you mind sharing your DIY integration so that I can take a look?

@JonathanArns
Copy link
Author

This commit basically contains it (except some vim mappings I think).
You will notice that I have taken especially one of the kittens directly from your plugin ;)
I have the same keybindings for resizing kitty and nvim windows. The only thing missing is the special case for using those from within nvim to resize the containing kitty window. For inspiration, the tmux nvim plugin that I removed from my config in the same commit does have that feature.

@knubie knubie added the enhancement New feature or request label Oct 9, 2023
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