From d3024efc7486c29dfb2c9d4db00ba1625e804706 Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Tue, 3 May 2022 15:00:08 +0200 Subject: [PATCH] [tmux] Fix select and yank keys on tmux version 3. --- .tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tmux.conf b/.tmux.conf index abe35fd..a7f4b96 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -26,7 +26,7 @@ if-shell 'tmux -V | grep -Eq "tmux 2\.[0-3]"' " \ bind -t vi-copy y copy-pipe 'xclip -sel clip -i'; \ " -if-shell 'tmux -V | grep -Eq "tmux 2\.[4-9]"' " \ +if-shell 'tmux -V | grep -Eq "tmux (2\.[4-9])|(3\.)"' " \ bind-key -T copy-mode-vi v send-keys -X begin-selection; \ bind-key -T copy-mode-vi y send-keys -X copy-selection; \ "