alt-shift-j/k zoom bindings b/c why not lmao
This commit is contained in:
parent
f6ecf743ab
commit
ae9739faed
|
@ -16,6 +16,7 @@ Forked from [https://github.com/shiva/st](https://github.com/shiva/st) for simpl
|
||||||
+ Alt-u and Alt-d scroll back/foward in history a page at a time.
|
+ Alt-u and Alt-d scroll back/foward in history a page at a time.
|
||||||
+ Alt-PageUp and Alt-PageDown scroll back/foward in history a page at a time.
|
+ Alt-PageUp and Alt-PageDown scroll back/foward in history a page at a time.
|
||||||
+ Transparency with solarized colors by default.
|
+ Transparency with solarized colors by default.
|
||||||
|
+ Zoom in/out with Alt+Shift+k/j or u/d for larger intervals.
|
||||||
|
|
||||||
## Terminal-specific mappings
|
## Terminal-specific mappings
|
||||||
|
|
||||||
|
|
4
config.h
4
config.h
|
@ -192,6 +192,10 @@ static Shortcut shortcuts[] = {
|
||||||
{ MODKEY, XK_Down, kscrolldown, {.i = 1} },
|
{ MODKEY, XK_Down, kscrolldown, {.i = 1} },
|
||||||
{ MODKEY, XK_u, kscrollup, {.i = -1} },
|
{ MODKEY, XK_u, kscrollup, {.i = -1} },
|
||||||
{ MODKEY, XK_d, kscrolldown, {.i = -1} },
|
{ MODKEY, XK_d, kscrolldown, {.i = -1} },
|
||||||
|
{ MODKEY|ShiftMask, XK_K, zoom, {.f = +1} },
|
||||||
|
{ MODKEY|ShiftMask, XK_J, zoom, {.f = -1} },
|
||||||
|
{ MODKEY|ShiftMask, XK_U, zoom, {.f = +2} },
|
||||||
|
{ MODKEY|ShiftMask, XK_D, zoom, {.f = -2} },
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue
Block a user