From eff4b5183b2fb143be3ee7127c1015583567e6fa Mon Sep 17 00:00:00 2001 From: Marco Raber Date: Mon, 7 Sep 2020 15:07:42 +0200 Subject: [PATCH] Shortcuts --- config.h | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/config.h b/config.h index 55795b3..baaa5d3 100644 --- a/config.h +++ b/config.h @@ -225,9 +225,12 @@ static MouseShortcut mshortcuts[] = { /* Internal keyboard shortcuts. */ #define MODKEY Mod1Mask -#define TERMMOD (ControlMask|ShiftMask) +// #define TERMMOD (ControlMask|ShiftMask) +#define TERMMOD (ShiftMask|ControlMask) #define CTRLALT (ControlMask|Mod1Mask) +// #define TERMMOD (Mod1Mask|ShiftMask) + MouseKey mkeys[] = { /* button mask function argument */ { Button4, XK_NO_MOD, kscrollup, {.i = 1} }, @@ -251,18 +254,18 @@ static Shortcut shortcuts[] = { { ShiftMask, XK_Print, printscreen, {.i = 0} }, { XK_ANY_MOD, XK_Print, printsel, {.i = 0} }, { MODKEY, XK_Home, zoomreset, {.f = 0} }, - { TERMMOD, XK_c, clipcopy, {.i = 0} }, + { ControlMask|ShiftMask,XK_C, clipcopy, {.i = 0} }, { ShiftMask, XK_Insert, clippaste, {.i = 0} }, - { TERMMOD, XK_v, clippaste, {.i = 0} }, - { XK_ANY_MOD, Button2, selpaste, {.i = 0} }, + { ControlMask|ShiftMask,XK_V, clippaste, {.i = 0} }, + { XK_ANY_MOD, Button2, selpaste, {.i = 0} }, { MODKEY, XK_Num_Lock, numlock, {.i = 0} }, { MODKEY, XK_Control_L, iso14755, {.i = 0} }, { ShiftMask, XK_Page_Up, kscrollup, {.i = -1} }, { ShiftMask, XK_Page_Down, kscrolldown, {.i = -1} }, { MODKEY, XK_Page_Up, kscrollup, {.i = -1} }, { MODKEY, XK_Page_Down, kscrolldown, {.i = -1} }, - { TERMMOD, XK_k, kscrollup, {.i = 1} }, - { TERMMOD, XK_j, kscrolldown, {.i = 1} }, + { TERMMOD, XK_K, kscrollup, {.i = 1} }, + { TERMMOD, XK_J, kscrolldown, {.i = 1} }, { TERMMOD, XK_Up, kscrollup, {.i = 1} }, { TERMMOD, XK_Down, kscrolldown, {.i = 1} }, { CTRLALT, XK_l, externalpipe, {.v = openurlcmd } },