diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2023-10-10 18:58:22 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2023-10-11 09:42:12 +0900 |
commit | 391aa148451b6c0a5e17ec2453f35afaba046f1f (patch) | |
tree | d993649a5856240e37d9ecaec3612f241e5224c8 /src/options.go | |
parent | a0d61b4c373f6b977314f7ebe53f6236798151e9 (diff) |
Add mouse events for --bind
Close #3473
Diffstat (limited to 'src/options.go')
-rw-r--r-- | src/options.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/options.go b/src/options.go index 3f4b5e92..1c650a2f 100644 --- a/src/options.go +++ b/src/options.go @@ -702,8 +702,24 @@ func parseKeyChordsImpl(str string, message string, exit func(string)) map[tui.E add(tui.LeftClick) case "right-click": add(tui.RightClick) + case "shift-left-click": + add(tui.SLeftClick) + case "shift-right-click": + add(tui.SRightClick) case "double-click": add(tui.DoubleClick) + case "scroll-up": + add(tui.ScrollUp) + case "scroll-down": + add(tui.ScrollDown) + case "shift-scroll-up": + add(tui.SScrollUp) + case "shift-scroll-down": + add(tui.SScrollDown) + case "preview-scroll-up": + add(tui.PreviewScrollUp) + case "preview-scroll-down": + add(tui.PreviewScrollDown) case "f10": add(tui.F10) case "f11": |