tmux fix mouse copying
This commit is contained in:
parent
468b9b698f
commit
67417b09ef
@ -177,6 +177,9 @@ bind -T copy-mode-vi C-v send-keys -X rectangle-toggle
|
||||
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "xclip -i -selection clipboard"
|
||||
bind -T copy-mode-vi Y send-keys -X copy-selection-and-cancel
|
||||
|
||||
bind MouseDrag1Pane copy-mode
|
||||
bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -i -selection clipboard"
|
||||
|
||||
bind -r p run-shell "xclip -selection clipboard -o | tmux load-buffer -; tmux paste-buffer -p"
|
||||
bind -r P paste-buffer -p
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user