This is my setup for working on rails projects in vi and tmux. Thanks to http://www.tofu.org/drupal/node/183 for inspiration. If it isn't a rails project, just open the directory with default tmux stuff.