diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2017-12-01 02:11:20 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2017-12-01 03:28:08 +0900 |
| commit | b3b101a89cd4a9431d98293e63e349367e83ac65 (patch) | |
| tree | 1ddb808bbf9414b61f06a67695ddf540f74d8529 /src/options.go | |
| parent | 9615c4edf13b0cedbc8c9b1c22bac905e12de8af (diff) | |
| download | fzf-b3b101a89cd4a9431d98293e63e349367e83ac65.tar.gz | |
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
Diffstat (limited to 'src/options.go')
| -rw-r--r-- | src/options.go | 4 |
1 files changed, 4 insertions, 0 deletions
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": |
