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; \ "