Created
June 27, 2017 13:03
-
-
Save olehermanse/468b8b251d487d8bb58c4b4ce560699a to your computer and use it in GitHub Desktop.
My tmux conf, must start using "tmux attach" :(
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
#!/usr/bin/tmux source-file | |
bind-key C-o select-pane -t :.+ | |
bind-key -n C-o select-pane -t :.+ | |
set -g mouse on | |
bind-key -t emacs-copy MouseDragEnd1Pane copy-pipe "pbcopy" | |
bind-key -t vi-copy MouseDragEnd1Pane copy-pipe "pbcopy" | |
new-session -d | |
split-window -d -t 0 -v | |
split-window -d -t 0 -h | |
split-window -d -t 2 -h | |
#send-keys -t 0 'cd ~/vms/vagrant/' enter | |
#send-keys -t 1 'cd ~/vms/vagrant/' enter | |
#send-keys -t 2 'cd ~/vms/vagrant/' enter | |
#send-keys -t 3 'cd ~/vms/vagrant/' enter | |
select-pane -t 0 | |
attach |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment