zellij-org / zellij

A terminal workspace with batteries included
https://zellij.dev
MIT License
21.19k stars 644 forks source link

[FEATURE] Multi-execution Mode #2578

Open 4r7if3x opened 1 year ago

4r7if3x commented 1 year ago

It would be nice to be able to write and execute commands on multiple panes at once after grouping a selection of them, similar to what MobaXterm app provides. This feature would specially be appreciated by system administrators who need to maintain several remote systems. The only point is that including/excluding panes should be quick, as it often happens that we need to toggle between them.

Zykino commented 1 year ago

Do you mean, like thinking all panes in a tab? Something like Ctrl+t, s maybe? :grin:

4r7if3x commented 1 year ago

Do you mean, like thinking all panes in a tab? Something like Ctrl+t, s maybe? grin

Thanks, I didn't notice the Sync option there. However, it syncs across all panes of a tab, not a selection of them. Is there already a way to do so?

Zykino commented 1 year ago

There were discussions about it on the discord, I think someone did a PR. But I’m not sure of its state. I know the maintainer was on the plugin API (big project project that just landed), and had not much time to review PR.

Zykino commented 1 year ago

I think it’s this one, and it looks to be merged #2314 but it may only be in the layout config for now?

So you apparently need to have a layout that create all the panes you want to exclude from sync (or all), and add them the attribute.

Another option is to make the panes you don’t want to sync as floating. At least for the sync time. Or just the setup? You will have to try that ^^

markstos commented 3 months ago

Dupe of #404?