make better tmux conf

This commit is contained in:
Dan Buch 2012-06-11 22:49:33 -04:00
parent bdc493aee5
commit 9b2ce27b82

View File

@ -1,7 +1,19 @@
# need me some vi mode
setw -g mode-keys vi
# copy-pasta in a vi-like way
unbind [
bind Escape copy-mode
unbind p
bind p paste-buffer
bind-key -t vi-copy 'v' begin-selection
bind-key -t vi-copy 'y' copy-selection
# must get used to C-b, even when using byobu-tmux
set-option -g prefix C-b
# love the toggle
bind-key C-b last-window
# faster!
set -s escape-time 0