maxmeyer/terminal_multiplexer — Issue #5: Generator for tm file
Author: maxmeyer
Created: 2012-01-11 20:25:19+00:00
State: open

Create a generator to generate a file in the current directory with a minimal config

```ruby
#2 sessions
#3 windows per session
tm gen 2x3
```
The file should be named Tmrb.

```ruby
#!/usr/bin/env ruby

require 'terminal-multiplexer'

tmux = Terminal::Multiplexer.new
tmux.new_session #(:window_name =>"", :command => "")
tmux.new_window #(:name =>"", :command => "")
tmux.new_window #(:name =>"", :command => "")
tmux.new_window #(:name =>"", :command => "")
tmux.new_session #(:window_name =>"", :command => "")
tmux.new_window #(:name =>"", :command => "")
tmux.new_window #(:name =>"", :command => "")
tmux.new_window #(:name =>"", :command => "")

tmux.start
```