mrjones2014 / smart-splits.nvim

🧠 Smart, seamless, directional navigation and resizing of Neovim + terminal multiplexer splits. Supports tmux, Wezterm, and Kitty. Think about splits in terms of "up/down/left/right".
MIT License
977 stars 43 forks source link

[FEATURE]: Integrate Kitty Multiplexer as strategy #49

Closed primeapple closed 1 year ago

primeapple commented 1 year ago

Is your feature request related to a problem? Please describe. I would like to use your plugin, because it allows resizing, but am using the Kitty terminal.

Describe the solution you'd like Support the Kitty Multiplexer as multiplexer option.

Describe alternatives you've considered The plugin we already have for this is https://github.com/knubie/vim-kitty-navigator But it does not support resizing :(

mrjones2014 commented 1 year ago

Now that things are structured the way they are, adding a new multiplexer backend should be relatively easy, as long as the Kitty CLI has the things I need. I'll check into it and come back and update this issue 👍

mrjones2014 commented 1 year ago

A quick look at window resizing in Kitty, it just uses "narrower"/"wider"/"taller"/"shorter", where tmux and wezterm both use up/down/left/right, so we wouldn't be able to the directional resizing in kitty, really.

https://sw.kovidgoyal.net/kitty/layouts/#window-resizing

We can still do directional pane navigation.

primeapple commented 1 year ago

I'm fine with being able to resize only within Neovim.

And maybe (just maybe) we can hack around kittys limitations in the future ;-)