Skip to content

Instantly share code, notes, and snippets.

@murajun1978
Created July 29, 2015 15:27
Show Gist options
  • Save murajun1978/822c0f5be663b140c2d9 to your computer and use it in GitHub Desktop.
Save murajun1978/822c0f5be663b140c2d9 to your computer and use it in GitHub Desktop.
DIR="$HOME/dev"
tmux new-session -d -s project_name -n processes
tmux send-keys 'top' 'C-m'
tmux split-window -v
tmux send-keys 'top' 'C-m'
tmux split-window -h
tmux send-keys 'top' 'C-m'
tmux new-window -n vim -c "$DIR"
tmux send-keys 'vim' 'C-m'
tmux attach -t project_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment