add tmux copy paste option

This commit is contained in:
vincent 2021-02-13 18:38:08 +01:00
parent fd74f0fd91
commit 75cd4dacdb

View File

@ -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