From 8ef9d5c721659dd0fc9ce43c4e35699cad18704b Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Thu, 21 Mar 2019 13:48:50 +0000 Subject: I still have a 2.3 box --- tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmux.conf') diff --git a/tmux.conf b/tmux.conf index d2a005b..68cefca 100644 --- a/tmux.conf +++ b/tmux.conf @@ -14,7 +14,7 @@ setw -g xterm-keys on # sane copy & paste in X (requires xclip) ; tmux 2.4+ set-option -s set-clipboard off -bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -se c -i" +if-shell "tmux -V | grep -v 2.3" "bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel \"xclip -se c -i\"" # Automatically set window title set-window-option -g automatic-rename on -- cgit v1.2.3