Skip to content

Instantly share code, notes, and snippets.

@helloravi
Created March 19, 2016 01:25
Show Gist options
  • Select an option

  • Save helloravi/b69d49a274ad56ffd2a1 to your computer and use it in GitHub Desktop.

Select an option

Save helloravi/b69d49a274ad56ffd2a1 to your computer and use it in GitHub Desktop.

Revisions

  1. helloravi created this gist Mar 19, 2016.
    39 changes: 39 additions & 0 deletions rorab.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,39 @@
    # ~/.tmuxinator/ror.yml

    name: rorab
    root: ~/astrapaid/alpha/habm/

    # 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 ror

    windows:
    - editor:
    layout: main-horizontal
    panes:
    - vim
    -
    - dev console: bundle exec rails console
    - server: bundle exec rails s
    - terminal:
    - test console: bundle exec rails console test -s