feat: added tmuxinator
7c681653
1 file(s) · +58 −0
| 1 | + | # /Users/stevedylandev/.config/tmuxinator/dev-setup.yml |
|
| 2 | + | ||
| 3 | + | name: dev-setup |
|
| 4 | + | root: ~/Developer/<%= @args[0] %> |
|
| 5 | + | ||
| 6 | + | # Optional tmux socket |
|
| 7 | + | # socket_name: foo |
|
| 8 | + | ||
| 9 | + | # Note that the pre and post options have been deprecated and will be replaced by |
|
| 10 | + | # project hooks. |
|
| 11 | + | ||
| 12 | + | # Project hooks |
|
| 13 | + | ||
| 14 | + | # Runs on project start, always |
|
| 15 | + | # on_project_start: command |
|
| 16 | + | ||
| 17 | + | # Run on project start, the first time |
|
| 18 | + | # on_project_first_start: command |
|
| 19 | + | ||
| 20 | + | # Run on project start, after the first time |
|
| 21 | + | # on_project_restart: command |
|
| 22 | + | ||
| 23 | + | # Run on project exit ( detaching from tmux session ) |
|
| 24 | + | # on_project_exit: command |
|
| 25 | + | ||
| 26 | + | # Run on project stop |
|
| 27 | + | # on_project_stop: command |
|
| 28 | + | ||
| 29 | + | # Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions. |
|
| 30 | + | # pre_window: rbenv shell 2.0.0-p247 |
|
| 31 | + | ||
| 32 | + | # Pass command line options to tmux. Useful for specifying a different tmux.conf. |
|
| 33 | + | # tmux_options: -f ~/.tmux.mac.conf |
|
| 34 | + | ||
| 35 | + | # Change the command to call tmux. This can be used by derivatives/wrappers like byobu. |
|
| 36 | + | # tmux_command: byobu |
|
| 37 | + | ||
| 38 | + | # Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used. |
|
| 39 | + | # startup_window: editor |
|
| 40 | + | ||
| 41 | + | # Specifies (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used. |
|
| 42 | + | # startup_pane: 1 |
|
| 43 | + | ||
| 44 | + | # Controls whether the tmux session should be attached to automatically. Defaults to true. |
|
| 45 | + | # attach: false |
|
| 46 | + | ||
| 47 | + | windows: |
|
| 48 | + | - editor: |
|
| 49 | + | layout: main-vertical |
|
| 50 | + | # Synchronize all panes of this window, can be enabled before or after the pane commands run. |
|
| 51 | + | # 'before' represents legacy functionality and will be deprecated in a future release, in favour of 'after' |
|
| 52 | + | # synchronize: after |
|
| 53 | + | panes: |
|
| 54 | + | - nvim . |
|
| 55 | + | - opencode |
|
| 56 | + | - server: |
|
| 57 | + | panes: |
|
| 58 | + | - |