Since kak doesn’t support windows, some plugin ( thinking of nerdtree ) rely on tmux, kitty or i3 or else to manage multiple windows.
I was thinking to build an API that all those pluging can rely on. ( let’s call it kak_win
)
The API will have a config variable holding the user’s window managing choice: tmux, kitty, i3 etc …
and a few fonction that pluging can call: kak_win_hsplit
kak_win_vsplit
kak_win_newtab
etc…
The implementation would be something like ( pseudocode):
void kak_win_hsplit(config):
switch config.window_manager:
case 'tmux' : // call tmux horizontal split
case 'i3' : // call i3 horizontal split