diff options
-rw-r--r-- | templates/.tmux.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/.tmux.conf b/templates/.tmux.conf index 09243b0..32c627e 100644 --- a/templates/.tmux.conf +++ b/templates/.tmux.conf @@ -47,4 +47,8 @@ bind-key L resize-pane -R 15 # copy/paste with pbcopy bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "pbcopy" bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "pbcopy" +{{ else if eq .OS "linux" }} +# copy/paste with wl-copy +bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "wl-copy" +bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "wl-copy" {{ end }} |