From 30efb8b09f030c12aa6d3ca350e40b86821dc45a Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 13 Jan 2022 20:22:34 +0100 Subject: Update to xsel in tmux config --- .config/tmux/tmux.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index c0f54a9..62733e4 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -55,9 +55,9 @@ bind -n M-l select-pane -R bind Escape copy-mode bind p paste-buffer bind -T copy-mode-vi v send -X begin-selection -bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "xclip -i -f -selection primary | xclip -i -selection clipboard" -bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip" -bind -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xclip" +bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "xsel -i --clipboard" +bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xsel -i --clipboard" +bind -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xsel -i --clipboard" # 0 is too far from ` ;) set -g base-index 1 -- cgit v1.2.3-70-g09d2