Skip to content

Instantly share code, notes, and snippets.

@olehermanse
Created June 27, 2017 13:03
Show Gist options
  • Save olehermanse/468b8b251d487d8bb58c4b4ce560699a to your computer and use it in GitHub Desktop.
Save olehermanse/468b8b251d487d8bb58c4b4ce560699a to your computer and use it in GitHub Desktop.
My tmux conf, must start using "tmux attach" :(
#!/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