Skip to content

Instantly share code, notes, and snippets.

@loadx
Created January 20, 2014 23:29
Show Gist options
  • Save loadx/8531476 to your computer and use it in GitHub Desktop.
Save loadx/8531476 to your computer and use it in GitHub Desktop.
# ~/.tmuxinator/afamux.yml
name: afamux
root: ~/V3/v3_source
# Optional tmux socket
# socket_name: foo
# Runs before everything. Use it to start daemons etc.
pre: cd ~/V3/chef; be kitchen converge web
# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
# pre_window: rbenv shell 2.0.0-p247
# Pass command line options to tmux. Useful for specifying a different tmux.conf.
# tmux_options: -f ~/.tmux.mac.conf
# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
# tmux_command: byobu
windows:
- code:
layout: da81,181x47,0,0[181x23,0,0{90x23,0,0,8,90x23,91,0,9},181x24,0,24,10]
panes:
- python:
- cd ~/V3/chef; be kitchen login web
- sudo su ebind-api
- cd ~/src
- clear
- postgres:
- cd ~/V3/chef/; be kitchen login web
- clear
- sudo su postgres
- psql
- \c ebind-api;
- emacs:
- ec ~/V3/v3_source/pl/serializers.py
- v3-grep:
layout: main-vertical
panes:
- v3_source:
- cd ~/V3/v3_source
- clear
- DJR-grep:
layout: main-vertical
panes:
- djr-source:
- cd ~/Desktop/django-rest-framework
- clear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment