There's no I in Teamocil. At least not where you think. Teamocil helps you set up windows and splits layouts for tmux using YAML configuration files.
Go to file
Rémi Prévost b0bcd52f7e Add --layout option to specifiy a layout file
Thanks to Esa-Matti Suuronen on GitHub for the suggestion!
2011-02-24 20:58:38 -05:00
bin Add --layout option to specifiy a layout file 2011-02-24 20:58:38 -05:00
lib Add --layout option to specifiy a layout file 2011-02-24 20:58:38 -05:00
script Initial commit 2011-02-05 13:11:38 -05:00
test Initial commit 2011-02-05 13:11:38 -05:00
.gitignore Initial commit 2011-02-05 13:11:38 -05:00
LICENSE Add License 2011-02-05 13:16:23 -05:00
Rakefile Initial commit 2011-02-05 13:11:38 -05:00
README.mkd Check for ENV["TMUX"] when using teamocil 2011-02-05 13:54:34 -05:00
teamocil.gemspec Add --layout option to specifiy a layout file 2011-02-24 20:58:38 -05:00

Introduction

Teamocil is a tool used to automatically create windows and splits in tmux with Ruby and YAML. Like tmuxinator, but with splits, not just windows.

Usage

$ gem install teamocil
$ mkdir ~/.teamocil
$ touch ~/.teamocil/sample.yml
$ tmux
$ 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

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

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