From fc4e526020dc98746b188dcf9eb4b69506aef4ef Mon Sep 17 00:00:00 2001
From: Ryan Kavanagh <rak@debian.org>
Date: Sat, 21 Feb 2015 11:46:24 -0500
Subject: Add paste from X to tmux

---
 .tmux.conf | 2 ++
 1 file changed, 2 insertions(+)

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
 
-- 
cgit v1.2.3