From 558b59c44c743204bb6c4697ed51796b0cf793cc Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Sun, 17 Jan 2021 19:01:06 -0500 Subject: fix for tmux regression --- dot/tmux.stage2.conf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dot/tmux.stage2.conf b/dot/tmux.stage2.conf index 34a2fa1..655dc75 100644 --- a/dot/tmux.stage2.conf +++ b/dot/tmux.stage2.conf @@ -31,9 +31,10 @@ bind-key C-c new-window bind-key Escape copy-mode bind-key [ copy-mode bind-key C-[ copy-mode -bind-key -t vi-copy v begin-selection -bind-key -t vi-copy y copy-selection -bind-key -t vi-copy Enter copy-selection +# https://github.com/tmux/tmux/issues/754 +bind-key -T copy-mode-vi v send-keys -X begin-selection +bind-key -T copy-mode-vi y send-keys -X copy-selection +bind-key -T copy-mode-vi Enter send-keys -X copy-selection #bind-key C-y run "tmux save-buffer - | xclip -i -selection clipboard" #bind-key C-p run "tmux set-buffer \"$(xclip -o -selection clipboard)\"; tmux paste-buffer" -- cgit v1.2.3