From 75cd4dacdb98d1677adf32cb21215c8b20bfc453 Mon Sep 17 00:00:00 2001 From: vincent Date: Sat, 13 Feb 2021 18:38:08 +0100 Subject: [PATCH] add tmux copy paste option --- tmux/.tmux.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 7d920f8..5912993 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -39,6 +39,7 @@ setw -g mode-keys vi unbind -T copy-mode-vi Enter bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xclip -selection c" bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -in -selection clipboard" +bind -t vi-copy y copy-pipe "xclip -sel clip -i" #Les fenĂȘtres commencent par 1 et non par 0 set -g base-index 1