make paste work again, sacrificed auto copymode on scrolling

This commit is contained in:
Daniel Nägele committed 2013-06-24 15:29:51 +02:00
1 parent 21c60794bb
commit 491543015c
1 file changed
+4 -4
+4 -4
View File
@@ -1,7 +1,3 @@
# make mouse useful
set -g mode-mouse on
set -g mouse-select-pane on
# allow resize bigger than the smallest client
set -g aggressive-resize on
@@ -79,3 +75,7 @@ set-window-option -g window-status-current-bg green
# clock
set-window-option -g clock-mode-colour cyan
set-window-option -g clock-mode-style 24
# copy and paste
bind C-p run "tmux set-buffer \"$(xclip -o)\"; tmux paste-buffer"
bind C-y run "tmux show-buffer | xclip -i"