You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `pane_title_position` | session | Position of the title bar (`top`/`bottom`) |
105
+
| `pane_title_format` | session | Format string using tmux variables |
106
+
| `title` | pane | Title text for an individual pane |
107
+
108
+
```{note}
109
+
These correspond to tmuxinator's `enable_pane_titles`, `pane_title_position`, `pane_title_format`, and named pane (hash-key) syntax.
110
+
```
111
+
112
+
## Config templating
113
+
114
+
Workspace configs support `{{ variable }}` placeholders that are rendered before YAML/JSON parsing. Pass values via `--set KEY=VALUE` on the command line:
115
+
116
+
```yaml
117
+
session_name: "{{ project }}"
118
+
start_directory: "~/code/{{ project }}"
119
+
windows:
120
+
- window_name: main
121
+
panes:
122
+
- echo "Working on {{ project }}"
123
+
```
124
+
125
+
```console
126
+
$ tmuxp load --set project=myapp mytemplate.yaml
127
+
```
128
+
129
+
```{note}
130
+
Values containing `{{ }}` must be quoted in YAML to prevent parse errors.
131
+
```
132
+
133
+
See {ref}`cli-load` for full CLI usage.
134
+
135
+
## synchronize
136
+
137
+
Window-level shorthand for setting `synchronize-panes`. Accepts `before`, `after`, or `true`:
138
+
139
+
```yaml
140
+
session_name: sync-demo
141
+
windows:
142
+
- window_name: synced
143
+
synchronize: after
144
+
panes:
145
+
- echo pane0
146
+
- echo pane1
147
+
- window_name: not-synced
148
+
panes:
149
+
- echo pane0
150
+
- echo pane1
151
+
```
152
+
153
+
| Value | Behavior |
154
+
|-------|----------|
155
+
| `before` | Enable synchronize-panes before sending pane commands |
156
+
| `after` | Enable synchronize-panes after sending pane commands |
157
+
| `true` | Same as `before` |
158
+
159
+
```{note}
160
+
This corresponds to tmuxinator's `synchronize` window key. The `before` and `true` values are accepted for compatibility but `after` is recommended.
161
+
```
162
+
163
+
## shell_command_after
164
+
165
+
Window-level key. Commands are sent to every pane in the window after all panes have been created and their individual commands executed:
166
+
167
+
```yaml
168
+
session_name: myproject
169
+
windows:
170
+
- window_name: servers
171
+
shell_command_after:
172
+
- echo "All panes ready"
173
+
panes:
174
+
- ./start-api.sh
175
+
- ./start-worker.sh
176
+
```
177
+
178
+
## clear
179
+
180
+
Window-level boolean. When `true`, sends `clear` to every pane after all commands (including `shell_command_after`) have completed:
0 commit comments