summaryrefslogtreecommitdiffstats
path: root/tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tmux.conf')
-rw-r--r--tmux.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/tmux.conf b/tmux.conf
index b8bb589..a9ae155 100644
--- a/tmux.conf
+++ b/tmux.conf
@@ -43,6 +43,10 @@ bind -T copy-mode-vi y send-keys -X copy-selection-and-cancel
bind -T copy-mode-vi ) send-keys -X start-of-line
bind -T copy-mode-vi _ send-keys -X back-to-indentation
+bind -T copy-mode-vi ^C run "tmux send-keys -X copy-selection-and-cancel; tmux-clipboard copy"
+bind ^C run "tmux-clipboard copy"
+bind ^V run "tmux-clipboard paste"
+
unbind ^B
# set up default sessions