change some keybinds
This commit is contained in:
parent
85d8aa9833
commit
d6a8104183
18
config.def.h
18
config.def.h
@ -213,21 +213,21 @@ static char *copyoutput[] = { "/bin/sh", "-xc", "st-copyout", "externalpipe", NU
|
|||||||
|
|
||||||
static Shortcut shortcuts[] = {
|
static Shortcut shortcuts[] = {
|
||||||
/* mask keysym function argument */
|
/* mask keysym function argument */
|
||||||
|
{ MODKEY, XK_y, externalpipe, {.v = copyurlcmd } },
|
||||||
|
{ MODKEY, XK_o, externalpipe, {.v = copyoutput } },
|
||||||
|
{ MODKEY, XK_l, externalpipe, {.v = openurlcmd } },
|
||||||
|
{ MODKEY|ShiftMask, XK_h, zoomreset, {.f = 0} },
|
||||||
|
{ MODKEY|ShiftMask, XK_j, zoom, {.f = -1} },
|
||||||
|
{ MODKEY|ShiftMask, XK_k, zoom, {.f = +1} },
|
||||||
|
{ MODKEY, XK_v, clippaste, {.i = 0} },
|
||||||
|
{ MODKEY, XK_c, clipcopy, {.i = 0} },
|
||||||
|
// defualts - might change later
|
||||||
{ XK_ANY_MOD, XK_Break, sendbreak, {.i = 0} },
|
{ XK_ANY_MOD, XK_Break, sendbreak, {.i = 0} },
|
||||||
{ ControlMask, XK_Print, toggleprinter, {.i = 0} },
|
{ ControlMask, XK_Print, toggleprinter, {.i = 0} },
|
||||||
{ ShiftMask, XK_Print, printscreen, {.i = 0} },
|
{ ShiftMask, XK_Print, printscreen, {.i = 0} },
|
||||||
{ XK_ANY_MOD, XK_Print, printsel, {.i = 0} },
|
{ XK_ANY_MOD, XK_Print, printsel, {.i = 0} },
|
||||||
{ TERMMOD, XK_Prior, zoom, {.f = +1} },
|
|
||||||
{ TERMMOD, XK_Next, zoom, {.f = -1} },
|
|
||||||
{ TERMMOD, XK_Home, zoomreset, {.f = 0} },
|
|
||||||
{ TERMMOD, XK_C, clipcopy, {.i = 0} },
|
|
||||||
{ TERMMOD, XK_V, clippaste, {.i = 0} },
|
|
||||||
{ TERMMOD, XK_Y, selpaste, {.i = 0} },
|
|
||||||
{ ShiftMask, XK_Insert, selpaste, {.i = 0} },
|
{ ShiftMask, XK_Insert, selpaste, {.i = 0} },
|
||||||
{ TERMMOD, XK_Num_Lock, numlock, {.i = 0} },
|
{ TERMMOD, XK_Num_Lock, numlock, {.i = 0} },
|
||||||
{ MODKEY, XK_l, externalpipe, {.v = openurlcmd } },
|
|
||||||
{ MODKEY, XK_y, externalpipe, {.v = copyurlcmd } },
|
|
||||||
{ MODKEY, XK_o, externalpipe, {.v = copyoutput } },
|
|
||||||
{ ShiftMask, XK_Page_Up, kscrollup, {.i = -1} },
|
{ ShiftMask, XK_Page_Up, kscrollup, {.i = -1} },
|
||||||
{ ShiftMask, XK_Page_Down, kscrolldown, {.i = -1} },
|
{ ShiftMask, XK_Page_Down, kscrolldown, {.i = -1} },
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user