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"