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
906 stars 38 forks source link

Hooks in resize mode #20

Closed L2AsHdz closed 2 years ago

L2AsHdz commented 2 years ago

Hi there, first of all thanks for the plugin, it's great. Could you add hooks when entering and exiting the resize mode.

mrjones2014 commented 2 years ago

What's the use case?

L2AsHdz commented 2 years ago

In my case what I'm trying to do is to integrate it with this plugin so it would be useful to pass a function to be executed when exiting the resize mode.

L2AsHdz commented 2 years ago

I've added the functionality and made a pull request, I'd appreciate if you could check it out.

L2AsHdz commented 2 years ago

Implemented in #21