Created
April 14, 2014 06:16
-
-
Save ToadJamb/10620734 to your computer and use it in GitHub Desktop.
tmux session initializer
This file contains 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
cd /path/to/project1 | |
tmux new -s project1 -d | |
tmux split-window -h -p 66 | |
tmux select-pane -t 0 | |
tmux send-keys 'ruby ~/.vim/bundle/vim_test_runner/test_runner' 'C-m' | |
tmux split-window -v -p 25 | |
tmux select-pane -t 2 | |
tmux send-keys 'echo hello me' | |
cd /path/to/project2 | |
tmux new -s project2 -d | |
tmux split-window -h -p 66 | |
tmux select-pane -t 0 | |
tmux send-keys 'ruby ~/.vim/bundle/vim_test_runner/test_runner' 'C-m' | |
tmux split-window -v -p 25 | |
tmux select-pane -t 2 | |
tmux att -t project1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment