post create pane sync

This commit is contained in:
2026-06-19 16:44:16 +02:00
parent 5a50ce62f3
commit cff4fba81c
5 changed files with 29 additions and 1 deletions

View File

@@ -155,6 +155,7 @@ split_regex = ","
# One of: "none", "cd", "create_panes", "create_panes_floating".
post_create_action = "none"
commands = []
sync_panes = false
[env.override]
ZELLIJ_SESSION_NAME = ""
@@ -199,6 +200,7 @@ paste = "CTRL+SHIFT+V"
`create_panes`, or create one floating pane per worktree with `create_panes_floating`.
`worktree.commands`, for example `["npm install", "git status"]`, can run commands in created
panes; commands are assigned in order and repeat when fewer commands than panes are created.
`worktree.sync_panes = true` syncs those created panes after the configured commands are sent.
- `Alt+y`: enter pane-sync selection mode, commit the selection, or stop an active pane sync
- `Space`: toggle the focused pane in the sync set while pane-sync selection mode is active
- Once committed, input typed or pasted into any synced pane is mirrored to the other synced panes