2011-02-05 18:14:40 +00:00
# Introduction
2011-02-05 18:11:38 +00:00
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
2011-02-05 18:16:55 +00:00
$ gem install teamocil
2011-02-05 18:14:40 +00:00
$ mkdir ~/.teamocil
$ touch ~/.teamocil/sample.yml
2011-02-05 18:11:38 +00:00
$ teamocil sample
# Layout example
# ~/.teamocil/sample.yml
2011-02-05 18:14:40 +00:00
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
2011-02-05 18:11:38 +00:00
2011-02-05 18:34:15 +00:00
will create a new window named `sample-window` with a layout like this:
2011-02-05 18:11:38 +00:00
.------------------.------------------.
| (0) | (1) |
| | |
| | |
| | |
| | |
| | |
| |------------------|
| | (2) |
| | |
'------------------'------------------'