summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanto Cariotti <dcariotti24@gmail.com>2020-05-20 20:16:08 +0200
committerGitHub <noreply@github.com>2020-05-20 20:16:08 +0200
commit3fa7ad91d71e7b60acd61f9dfac0613beaab7e35 (patch)
tree645a3d97a526ca55a7844cc26e0e098e9dac206b
parent144fc5ca3784fdf2ff43437500ae82dbb207dfa6 (diff)
fix: clipboard copy
-rw-r--r--tmux/.tmux.conf5
1 files changed, 5 insertions, 0 deletions
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"