Skip to content

Instantly share code, notes, and snippets.

@ToadJamb
Created April 14, 2014 06:16
Show Gist options
  • Save ToadJamb/10620734 to your computer and use it in GitHub Desktop.
Save ToadJamb/10620734 to your computer and use it in GitHub Desktop.
tmux session initializer
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