From b3b101a89cd4a9431d98293e63e349367e83ac65 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Fri, 1 Dec 2017 02:11:20 +0900 Subject: 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 --- src/options.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/options.go') diff --git a/src/options.go b/src/options.go index 00b2afd2..11a5021b 100644 --- a/src/options.go +++ b/src/options.go @@ -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": -- cgit v1.2.3