From 7e6c2cb23868fbfec11adacdc5da7e670a9b8bdb Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 24 Nov 2016 13:38:44 +0000 Subject: Make the selection able to exist independent of the cursor position, so that it is not affected by scrolling. If MouseDragEnd1Pane is bound to the new "stop-selection" command: bind -Tcopy-mode MouseDragEnd1Pane stop-selection A selection made with the mouse will stay as it is after button 1 is released. (It also works bound to a key.) From Artem Fokin. --- tmux.1 | 1 + 1 file changed, 1 insertion(+) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index b474b578..69f0e167 100644 --- a/tmux.1 +++ b/tmux.1 @@ -1072,6 +1072,7 @@ The following commands are supported in copy mode: .It Li "search-reverse" Ta "N" Ta "N" .It Li "select-line" Ta "V" Ta "" .It Li "start-of-line" Ta "0" Ta "C-a" +.It Li "stop-selection" Ta "" Ta "" .It Li "top-line" Ta "H" Ta "M-R" .El .Pp -- cgit