summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-13 20:22:34 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-13 20:22:34 +0100
commit30efb8b09f030c12aa6d3ca350e40b86821dc45a (patch)
tree0f6e17b3bdbefdc1c1038e646de63e16a138924c
parent73a60f5ee71bb60265ec0c97be7531a5e7605d8c (diff)
Update to xsel in tmux config
-rw-r--r--.config/tmux/tmux.conf6
1 files 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