add tmux copy paste option
This commit is contained in:
parent
fd74f0fd91
commit
75cd4dacdb
@ -39,6 +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 -t vi-copy y copy-pipe "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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user