make the zoomrate configurable
This commit makes the rate that st zooms configurable.master
parent
bfdd78f62e
commit
9059114a15
|
|
@ -182,6 +182,11 @@ static uint forcemousemod = ShiftMask;
|
|||
*/
|
||||
const unsigned int mousescrollrate = 1;
|
||||
|
||||
/*
|
||||
* The rate to zoom in (adjust the font size).
|
||||
*/
|
||||
const int zoomrate = 1;
|
||||
|
||||
/*
|
||||
* Internal mouse shortcuts.
|
||||
* Beware that overloading Button1 will disable the selection.
|
||||
|
|
@ -207,8 +212,8 @@ static Shortcut shortcuts[] = {
|
|||
{ ControlMask, XK_Print, toggleprinter, {.i = 0} },
|
||||
{ ShiftMask, XK_Print, printscreen, {.i = 0} },
|
||||
{ XK_ANY_MOD, XK_Print, printsel, {.i = 0} },
|
||||
{ TERMMOD, XK_Prior, zoom, {.f = +1} },
|
||||
{ TERMMOD, XK_Next, zoom, {.f = -1} },
|
||||
{ TERMMOD, XK_Prior, zoom, {.f = zoomrate * +1} },
|
||||
{ TERMMOD, XK_Next, zoom, {.f = zoomrate * -1} },
|
||||
{ TERMMOD, XK_Home, zoomreset, {.f = 0} },
|
||||
{ TERMMOD, XK_C, clipcopy, {.i = 0} },
|
||||
{ TERMMOD, XK_V, clippaste, {.i = 0} },
|
||||
|
|
|
|||
Loading…
Reference in New Issue