From 9e42729ef6f4d694a50cdf11873bad83154649e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Szyma=C5=84ski?= Date: Wed, 26 Apr 2017 12:01:33 +0200 Subject: [PATCH] Update Vi copy and paste key bindings for tmux 2.4 --- doc/about_tmux.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/about_tmux.rst b/doc/about_tmux.rst index 4e08167da74..746d818bfee 100644 --- a/doc/about_tmux.rst +++ b/doc/about_tmux.rst @@ -515,8 +515,12 @@ Vi-style copy and paste # Vi copypaste mode set-window-option -g mode-keys vi + # tmux <= 2.3 bind-key -t vi-copy 'v' begin-selection bind-key -t vi-copy 'y' copy-selection + # tmux >= 2.4 + bind-key -T copy-mode-vi 'v' send-keys -X begin-selection + bind-key -T copy-mode-vi 'y' send-keys -X copy-selection Aggressive resizing for clients -------------------------------