Skip to content

Instantly share code, notes, and snippets.

@kaka-ruto
Created April 8, 2020 17:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kaka-ruto/416619d55227d686ba4f1a696372cca0 to your computer and use it in GitHub Desktop.
Save kaka-ruto/416619d55227d686ba4f1a696372cca0 to your computer and use it in GitHub Desktop.
# /Users/kaka/.config/tmuxinator/test-user-api.yml
name: test-user-api
root: ~/Code/test-user-api
# Optional tmux socket
# socket_name: foo
# Note that the pre and post options have been deprecated and will be replaced by
# project hooks.
# Project hooks
# Runs on project start, always
# on_project_start: command
# Run on project start, the first time
# on_project_first_start: command
# Run on project start, after the first time
# on_project_restart: command
# Run on project exit ( detaching from tmux session )
# on_project_exit: command
# Run on project stop
# on_project_stop: command
# 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: editor
# Specifies (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used.
# startup_pane: 1
# Controls whether the tmux session should be attached to automatically. Defaults to true.
# attach: false
windows:
- editor:
panes: vim app/models/user.rb
- console:
layout: even-horizontal
panes:
- bundle exec rails c
- git status
- server:
layout: even-horizontal
panes:
- bundle exec rails s
- tail -f log/development.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment