Skip to content

Instantly share code, notes, and snippets.

@WTFox
Created February 17, 2017 17:05
Show Gist options
  • Save WTFox/007b24823a13062ffc5f21df908068f6 to your computer and use it in GitHub Desktop.
Save WTFox/007b24823a13062ffc5f21df908068f6 to your computer and use it in GitHub Desktop.
sample tmuxinator config ~/.tmuxinator/health.yml
# ~/.tmuxinator/health.yml
name: health
root: ~/code/health/
# Optional tmux socket
# socket_name: foo
# Runs before everything. Use it to start daemons etc.
pre:
- brew services restart redis
# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
pre_window: workon h
# Pass command line options to tmux. Useful for specifying a different tmux.conf.
# tmux_options: -f ~/.tmux.mac.conf
# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
# tmux_command: byobu
# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
startup_window: health
# Controls whether the tmux session should be attached to automatically. Defaults to true.
# attach: false
# Runs after everything. Use it to attach to tmux with custom options etc.
# post: tmux -CC attach -t health
windows:
- control:
layout: 3209,272x69,0,0[273x51,0,0,0,273x17,0,52{136x17,0,52,3,136x17,137,52,14}]
panes:
- find . -type f -name "*.swp" -delete; vim
- #empty
- #empty
- server:
layout: 929d,272x69,0,0{136x69,0,0,1,135x69,137,0,8}
panes:
- ./manage.py runserver
- nvm use stable; npm run bundle:dev pathways
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment