summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.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