Adjust keybinding

master
Hektor Misplon 2020-08-01 20:11:54 +02:00
parent 83a5a84cd8
commit e1ee2c7df0
1 changed files with 7 additions and 8 deletions

View File

@ -1,7 +1,6 @@
/* See LICENSE file for copyright and license details. */ /* See LICENSE file for copyright and license details. */
/* see http://freedesktop.org/software/fontconfig/fontconfig-user.html */ static char *font = "Iosevka Term SS08:pixelsize=20:antialias=true:autohint=true";
static char *font = "Iosevka:pixelsize=20:antialias=true:autohint=true";
static int borderpx = 0; static int borderpx = 0;
/* /*
@ -165,7 +164,7 @@ static MouseShortcut mshortcuts[] = {
}; };
/* Internal keyboard shortcuts. */ /* Internal keyboard shortcuts. */
#define MODKEY Mod1Mask #define MODKEY Mod4Mask
#define TERMMOD (ControlMask|ShiftMask) #define TERMMOD (ControlMask|ShiftMask)
static Shortcut shortcuts[] = { static Shortcut shortcuts[] = {
@ -174,15 +173,15 @@ static Shortcut shortcuts[] = {
{ 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 = +4} }, { MODKEY|ShiftMask, XK_Prior, zoom, {.f = +4} },
{ TERMMOD, XK_Next, zoom, {.f = -4} }, { MODKEY|ShiftMask, XK_Next, zoom, {.f = -4} },
{ TERMMOD, XK_Home, zoomreset, {.f = 0} }, { MODKEY|ShiftMask, XK_Home, zoomreset, {.f = 0} },
{ TERMMOD, XK_C, clipcopy, {.i = 0} }, { TERMMOD, XK_C, clipcopy, {.i = 0} },
{ TERMMOD, XK_V, clippaste, {.i = 0} }, { TERMMOD, XK_V, clippaste, {.i = 0} },
{ TERMMOD, XK_Y, selpaste, {.i = 0} }, { TERMMOD, XK_Y, selpaste, {.i = 0} },
{ ShiftMask, XK_Insert, selpaste, {.i = 0} }, { ShiftMask, XK_Insert, selpaste, {.i = 0} },
{ TERMMOD, XK_K, kscrollup, {.i = 8} }, { MODKEY|ShiftMask, XK_K, kscrollup, {.i = 8} },
{ TERMMOD, XK_J, kscrolldown, {.i = 8} }, { MODKEY|ShiftMask, XK_J, kscrolldown, {.i = 8} },
{ ShiftMask, XK_Return, newterm, {.i = 0} }, { ShiftMask, XK_Return, newterm, {.i = 0} },
}; };