Skip to content

tmux

Split the current tmux window horizontally into the new worktree’s directory.

[hooks]
post_start = ['[ -n "$TMUX" ] && tmux split-window -h -c "$VIBE_WORKTREE_PATH"']

The [ -n "$TMUX" ] && guard makes the hook a no-op when you run vibe start outside of tmux, so the same config works everywhere.

Open a new window instead of splitting:

[hooks]
post_start = ['[ -n "$TMUX" ] && tmux new-window -c "$VIBE_WORKTREE_PATH"']

Vertical split:

[hooks]
post_start = ['[ -n "$TMUX" ] && tmux split-window -v -c "$VIBE_WORKTREE_PATH"']