From 3fa7ad91d71e7b60acd61f9dfac0613beaab7e35 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Wed, 20 May 2020 20:16:08 +0200 Subject: fix: clipboard copy --- tmux/.tmux.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 5532581..97fcccf 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -3,7 +3,12 @@ set-option -ga terminal-overrides ",xterm-256color-italic:Tc" set -g status-bg '#2ecc71' set -g status-fg '#ecf0f1' set -g history-limit 50000 + +setw -g mode-keys vi set -g mouse on +set-option -s set-clipboard off +bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "pbcopy -se c -i" + set -g status-left '' set -g status-right "%d/%m/%Y %H:%M" -- cgit v1.2.3-18-g5258