summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2016-10-11 09:30:36 +0000
committernicm <nicm>2016-10-11 09:30:36 +0000
commit85d7afaefc1e2cf8008575a776ec70f51d24e1a6 (patch)
treea21793f0c47a4683a2cf40ea07387e9e402b052d /tmux.1
parent76d6d3641f271be1756e41494960d96714e7ee58 (diff)
Support double and triple clicks (they are cumulative, so double is
fired then triple), and use for select-word and select-line in copy mode. Inspired by a different solution from Omar Sandoval.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.14
1 files changed, 3 insertions, 1 deletions
diff --git a/tmux.1 b/tmux.1
index ec6b02cd..f375a215 100644
--- a/tmux.1
+++ b/tmux.1
@@ -3334,10 +3334,12 @@ for a pane border or
for the status line).
The following mouse events are available:
.Bl -column "MouseDown1" "MouseDrag1" "WheelDown" -offset indent
+.It Li "WheelUp" Ta "WheelDown" Ta ""
.It Li "MouseDown1" Ta "MouseUp1" Ta "MouseDrag1" Ta "MouseDragEnd1"
.It Li "MouseDown2" Ta "MouseUp2" Ta "MouseDrag2" Ta "MouseDragEnd2"
.It Li "MouseDown3" Ta "MouseUp3" Ta "MouseDrag3" Ta "MouseDragEnd3"
-.It Li "WheelUp" Ta "WheelDown" Ta "" Ta ""
+.It Li "DoubleClick1" Ta "DoubleClick2" Ta "DoubleClick3" Ta "WheelUp"
+.It Li "TripleClick1" Ta "TripleClick2" Ta "TripleClick3" Ta "WheelDown"
.El
.Pp
Each should be suffixed with a location, for example