From c5459df4df6f7f530dcf06d08b263046a4563cc0 Mon Sep 17 00:00:00 2001 From: Victor Yarema Date: Sat, 4 Nov 2017 00:07:31 +0200 Subject: [PATCH] Fixed commit 4e6c6381977e168d81ef14daea7f1bf83e50f51e. --- .tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tmux.conf b/.tmux.conf index 7eb5b5c..6a0bd85 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -91,7 +91,7 @@ run-shell "tmux set-environment -g TMUX_VERSION_MINOR $(tmux -V | cut -d' ' -f2 # Vi copypaste mode set-window-option -g mode-keys vi -if-shell "test '\( #{$TMUX_VERSION_MAJOR} -eq 2 -a #{$TMUX_VERSION_MINOR} -ge 4 \)'" 'bind-key -Tcopy-mode-vi v send -X begin-selection; bind-key -Tcopy-mode-vi y send -X copy-selection-and-cancel' +if-shell "test \( #{$TMUX_VERSION_MAJOR} -eq 2 -a #{$TMUX_VERSION_MINOR} -ge 4 \)" 'bind-key -Tcopy-mode-vi v send -X begin-selection; bind-key -Tcopy-mode-vi y send -X copy-selection-and-cancel' if-shell '\( #{$TMUX_VERSION_MAJOR} -eq 2 -a #{$TMUX_VERSION_MINOR} -lt 4\) -o #{$TMUX_VERSION_MAJOR} -le 1' 'bind-key -t vi-copy v begin-selection; bind-key -t vi-copy y copy-selection' # status bar