Created
November 29, 2016 10:45
-
-
Save jtiala/2abe739707ba6a16e0bae5577a020a5d to your computer and use it in GitHub Desktop.
tmuxgo
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
#!/bin/bash | |
SESSION=`basename $PWD` | |
tmux -2 new-session -d -s $SESSION | |
tmux rename-window -t $SESSION:1 vim | |
tmux split-window -h | |
tmux split-window -v | |
tmux select-pane -t 0 | |
tmux resize-pane -R 30 | |
tmux select-window -t $SESSION:1 | |
tmux -2 attach -t $SESSION |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment