Browse Source

[tmux] Fix select and yank keys on tmux version 3.

master
Fredrik Ekre 4 years ago
parent
commit
d3024efc74
  1. 2
      .tmux.conf

2
.tmux.conf

@ -26,7 +26,7 @@ if-shell 'tmux -V | grep -Eq "tmux 2\.[0-3]"' " \ @@ -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; \
"

Loading…
Cancel
Save