From 491543015cac1bc02dd7c57d59944f456726d4c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20N=C3=A4gele?= Date: Mon, 24 Jun 2013 15:29:51 +0200 Subject: [PATCH] make paste work again, sacrificed auto copymode on scrolling --- tmux.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tmux.conf b/tmux.conf index 9579ea8..e9642f9 100644 --- a/tmux.conf +++ b/tmux.conf @@ -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"