🧠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
904
stars
38
forks
source link
[Feature]: Allow creating mux splits from Neovim keymaps #88
[X] Before filing, I have searched for similar issues.
Description
Since we already have mux APIs for tmux, Wezterm, and Kitty, we could also use those to allow you to create Neovim keymaps which create new splits (or floating windows for tmux!).
We could have APIs like:
require('smart-splits').split_mux(direction)
Although as far as I can tell this won't work in Kitty because the mux is highly opinionated at does not allow creating arbitrary splits, can anyone confirm?
require('smart-splits').float_mux(opts) (opts for stuff like window size, position, etc.)
Similar Issues
Description
Since we already have mux APIs for
tmux
, Wezterm, and Kitty, we could also use those to allow you to create Neovim keymaps which create new splits (or floating windows fortmux
!).We could have APIs like:
require('smart-splits').split_mux(direction)
require('smart-splits').float_mux(opts)
(opts
for stuff like window size, position, etc.)