enricozb / popup.kak

Kakoune popup plugin
21 stars 2 forks source link

Zellij support #2

Closed notramo closed 1 year ago

notramo commented 1 year ago

Zellij is tmux on steroids. The plugin should autodetect if Kakoune is running inside of tmux or zellij. This can be done using the $ZELLIJ_SESSION_NAME variable.

From inside a zellij pane, the following shell command can launch a new popup pane with the process kak

 zellij run --floating -- kak
enricozb commented 1 year ago

I don't think this is necessary, as this plugin does not require you to run kakoune inside of any terminal multiplexer. The multiplexing is done through info modals, and the state of the popup window is delegated to tmux.