Support binding of left-click and right-click

left-click and right-click are respectively bound to "ignore" and
"toggle" (after implicitly moving the cursor) by default.

Close #1130
This commit is contained in:
Junegunn Choi committed 2017-12-01 03:28:08 +09:00
1 parent 9615c4edf1
commit b3b101a89c
6 files changed
+31 -10

No files matched your search

+4
View File
@@ -430,6 +430,10 @@ func parseKeyChords(str string, message string) map[int]string {
chord = tui.SLeft
case "shift-right":
chord = tui.SRight
case "left-click":
chord = tui.LeftClick
case "right-click":
chord = tui.RightClick
case "double-click":
chord = tui.DoubleClick
case "f10":