aboutsummaryrefslogtreecommitdiff
path: root/.tmux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.tmux.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/.tmux.conf b/.tmux.conf
index c67d9a8..7782f60 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -57,6 +57,8 @@ set -g default-terminal "screen-256color"
# move tmux copy buffer into x clipboard
bind C-y save-buffer ~/.tmux-buffer \; run "xsel -i -b <~/.tmux-buffer && rm ~/.tmux-buffer"
+#Copy CLIPBOARD to tmux paste buffer and paste tmux paste buffer
+bind C-v run "tmux set-buffer -- \"$(xsel -o -b)\"; tmux paste-buffer"
bind C new-session