tmux: copy to wl-copy
This commit is contained in:
parent
0638a155f2
commit
610b77ac72
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ bind -Tcopy-mode-vi MouseDragEnd1Pane send -X copy-selection-and-cancel\; run "t
|
||||||
|
|
||||||
# Middle click to paste from the clipboard
|
# Middle click to paste from the clipboard
|
||||||
unbind-key MouseDown2Pane
|
unbind-key MouseDown2Pane
|
||||||
bind-key -n MouseDown2Pane run "tmux set-buffer \"$(xclip -o -sel primary)\"; tmux paste-buffer"
|
bind-key -n MouseDown2Pane run "tmux set-buffer \"$(wl-copy --primary)\"; tmux paste-buffer"
|
||||||
|
|
||||||
# Splitting
|
# Splitting
|
||||||
bind-key h split-window -h
|
bind-key h split-window -h
|
||||||
|
|
Loading…
Reference in a new issue