diff options
author | Brahmajit Das <brahmajit.xyz@gmail.com> | 2025-01-27 19:45:04 +0530 |
---|---|---|
committer | Brahmajit Das <brahmajit.xyz@gmail.com> | 2025-01-27 19:45:04 +0530 |
commit | 713b839978449a3a3a6061670ee914ef1d995739 (patch) | |
tree | 86528c292a7b763bc6381056840e4f9024749f98 | |
parent | 93f3ac14abfe46ddd8b466b52141f547ec27c6c1 (diff) |
tmux: use wl-copy instead of xsel
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
-rw-r--r-- | .tmux.conf | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -23,9 +23,11 @@ bind y copy-mode unbind p bind p paste-buffer bind-key -T copy-mode-vi 'v' send -X begin-selection -bind-key -T copy-mode-vi 'y' send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard' +bind-key -T copy-mode-vi 'y' 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' +bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel 'wl-copy' bind-key -T copy-mode-vi 'r' send-keys -X rectangle-toggle -bind-key -T copy-mode-vi "Y" send-keys -X copy-pipe-and-cancel "tmux paste-buffer" +bind-key -T copy-mode-vi 'Y' send-keys -X copy-pipe-and-cancel "tmux paste-buffer" bind-key -T copy-mode-vi MouseDragEnd1Pane send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy" bind-key -T copy-mode-vi MouseDown3Pane select-pane # right mouse button (to highlight sutff) bind-key -T copy-mode-vi MouseDrag3Pane select-pane \; send-keys -X begin-selection |