corect tmux copy past

This commit is contained in:
vincent 2021-02-14 10:38:50 +01:00
parent d7102f9754
commit a3ae4c45cd

View File

@ -39,7 +39,7 @@ setw -g mode-keys vi
unbind -T copy-mode-vi Enter 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 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-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -in -selection clipboard"
bind-key -t vi-copy y copy-pipe "xclip -sel clip -i" bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -sel clip -i'
#Les fenêtres commencent par 1 et non par 0 #Les fenêtres commencent par 1 et non par 0
set -g base-index 1 set -g base-index 1