Sha256: cffb208ccb9fcf9fd6488f729487dbb475b3c5f2925f0069406805ff199f08d0

Contents?: true

Size: 1.33 KB

Versions: 1

Compression:

Stored size: 1.33 KB

Contents

# Introduction

Teamocil is a tool used to automatically create windows and splits in `tmux` with Ruby and YAML. Like [tmuxinator](https://github.com/aziz/tmuxinator), but with splits, not just windows.

# Usage

    $ gem install teamocil
    $ mkdir ~/.teamocil
    $ touch ~/.teamocil/sample.yml
    $ teamocil sample

# Layout example

    # ~/.teamocil/sample.yml

    windows:
      - name: sample-window
        splits:
          - cmd: cd ~/Code/sample/www
          - cmd:
            - cd ~/Code/sample/www
            - rails s
            width: 50
          - cmd: memcached -p 11211 -vv
            height: 25
      - name: sample-window-2
        splits:
          - cmd: cd ~/Code/sample/www-2
          - cmd:
            - cd ~/Code/sample/www-2
            - rails s
            width: 50

will create a new window named `sample` with a layout like this:

    .------------------.------------------.
    | (0)              | (1)              |
    |                  |                  |
    |                  |                  |
    |                  |                  |
    |                  |                  |
    |                  |                  |
    |                  |------------------|
    |                  | (2)              |
    |                  |                  |
    '------------------'------------------'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
teamocil-0.1 README.mkd