catgoose / do-the-needful.nvim

Neovim task runner that uses tmux windows to do the needful please
40 stars 1 forks source link

Zellij / neovims' terminal support #7

Open silicakes opened 5 months ago

silicakes commented 5 months ago

First let me say that this plugin is something I was really missing, so thank you for making it!

I was wondering if it will be possible to support other terminal multiplexers (namely Zellij) or even a temporary terminal buffer within Neovim itself.

The latter will reduce the amount of dependencies and can make this plugin available for more people.

WDYT?

catgoose commented 5 months ago

Adding support for terminal should be fairly easy. As for Zellij, as long as it support opening a window with a command and opening a window and sending commands to that window, it shouldn't be difficult.

I think I would like to keep the current JSON schema but depending on what features and possibilities there are with zellij and terminal I may have to update it a bit.

I have never used Zellij, but I'm going to look into it and see what can be done. If anything terminal support can be added.

Thanks!

catgoose commented 1 week ago

Zellij doesn't quite allow for the same operations as tmux so I don't think I will support it, but I am planning on adding terminal support soon.