Skip to content

Instantly share code, notes, and snippets.

@cumbreras
Created March 10, 2017 14:00
Show Gist options
  • Save cumbreras/c5bbe94086a377dbd6832cefc589d86f to your computer and use it in GitHub Desktop.
Save cumbreras/c5bbe94086a377dbd6832cefc589d86f to your computer and use it in GitHub Desktop.
# ~/.tmuxinator/cw.yml
name: cw
root: ~/projects/cw/
# Optional tmux socket
# socket_name: foo
# Runs before everything. Use it to start daemons etc.
# pre: sudo /etc/rc.d/mysqld start
# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
# pre_window: rbenv shell 2.0.0-p247
# 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: logs
# 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 cw
pre: sudo nginx
windows:
- medium:
panes:
- medium top
- nvim:
pre: wd projects
panes:
- nvim .
- my-server:
pre: wd my
layout: even-vertical
panes:
- mys
- sq
- ic-server:
pre: wd ic
panes:
- npm run grunt
- catalog-server:
pre: wd catalog
layout: even-vertical
panes:
- catalogs
- sq
- www-server:
pre: wd www
layout: even-vertical
panes:
- wwws
- sq
- paperman-server:
pre: wd paperman
layout: even-vertical
panes:
- papermans
- qs-server:
pre: wd qs
layout: even-vertical
panes:
- qss
- sq
- qf-server:
pre: wd qf
panes:
- npm run dev
- binder-server:
pre: wd bind
layout: even-vertical
panes:
- binds
- sq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment