summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2019-03-27 21:53:57 +0100
committerRuben Undheim <ruben.undheim@gmail.com>2019-11-07 21:14:45 +0100
commitedfc9978e39debeba614f8f9ff9cf9be000aae22 (patch)
treec0edd57fcd5b9d630813f2c00a05e41184c83960
parent8508d3b2ecc3e5228112144d234845e96a4549a6 (diff)
Add bindings to scroll with shift or ctrl pressed
Gbp-Pq: Name 0011-Add-bindings-to-scroll-with-shift-or-ctrl-pressed.patch
-rw-r--r--magic/proto.magicrc.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/magic/proto.magicrc.in b/magic/proto.magicrc.in
index cb2b092..1ad7254 100644
--- a/magic/proto.magicrc.in
+++ b/magic/proto.magicrc.in
@@ -167,6 +167,10 @@ macro XK_KP_Prior "move ne 1"
# Scroll wheel bindings
macro XK_Pointer_Button4 "scroll u .05 w"
macro XK_Pointer_Button5 "scroll d .05 w"
+macro Shift_XK_Pointer_Button4 "scroll r .05 w"
+macro Shift_XK_Pointer_Button5 "scroll l .05 w"
+macro Control_XK_Pointer_Button4 "zoom 1.4"
+macro Control_XK_Pointer_Button5 "zoom 0.8"
# Quick macro function keys for scmos tech (X11 versions only)
macro XK_F1 "paint ndiff"
macro XK_F2 "paint pdiff"