Skip to content

Instantly share code, notes, and snippets.

@cwoodcox
Created November 19, 2014 18:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cwoodcox/985590d7b806d3af99a5 to your computer and use it in GitHub Desktop.
Save cwoodcox/985590d7b806d3af99a5 to your computer and use it in GitHub Desktop.
My interactive project opening thing
# Open a project interactively
unbind C-p
bind-key C-p \
command-prompt -p "client:","project:" "\
new-session -A -c ~/Projects/%1/%2 -s %2 -n code 'reattach-to-user-namespace -l vim'\;\
new-window -d -n console 'tail -f log/development.log'\;\
split-window -v -t 1 'rails c'\;\
next-window"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment