Created
April 2, 2012 17:05
-
-
Save 8bitDesigner/2285163 to your computer and use it in GitHub Desktop.
Make productive
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
productive: | |
tmux new-window -n refreshements 'cd adventurer; guard'; \ | |
tmux split-window -t :2 'cd adventurer; supervisor server.js'; \ | |
tmux select-window -t :1; \ | |
tmux send-keys 'vi server.js' C-m; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Usage:
make productive
This will use tmux to open a window (named 'refreshments'), split it horizontally, open Guard and Supervisor, to reload node and the browser upon changes, then select the first window and load vim.