summaryrefslogtreecommitdiffstats
path: root/tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tmux.conf')
-rw-r--r--tmux.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmux.conf b/tmux.conf
index a7d6c20..e3561e8 100644
--- a/tmux.conf
+++ b/tmux.conf
@@ -8,6 +8,9 @@ set-option -g focus-events on
# set shell
#set -g default-shell '/bin/ksh'
+# paste with Ctrl Y
+bind-key -n C-y run "tmux set-buffer \"$(xclip -o -sel clipboard)\"; tmux paste-buffer"
+
# command sequence for nested tmux sessions
bind-key a send-prefix