aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Sangdahl <[email protected]>2024-04-23 15:12:14 -0600
committerJack Sangdahl <[email protected]>2024-04-23 15:12:14 -0600
commita9c2d5b0084857f572e08ba1413cb7916cf2409f (patch)
tree461a3773f2dc63f3ac320559497dcfbf715051e8
parent4819a59ec5aa27c137fbdb517dce64dcc7bb6167 (diff)
downloadst-a9c2d5b0084857f572e08ba1413cb7916cf2409f.tar.gz
st-a9c2d5b0084857f572e08ba1413cb7916cf2409f.zip
fix caps lock backspace
-rw-r--r--config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.h b/config.h
index f044182..d85ee7e 100644
--- a/config.h
+++ b/config.h
@@ -51,7 +51,7 @@ MouseKey mkeys[] = {
static Shortcut shortcuts[] = {
{ControlMask | ShiftMask, XK_V, clippaste, {.i = 0}},
-};
+ {ControlMask | ShiftMask, XK_C, clipcopy, {.i = 0}}};
static KeySym mappedkeys[] = {-1};
static uint ignoremod = Mod2Mask | XK_SWITCH_MOD;
@@ -65,7 +65,7 @@ static Key key[] = {{XK_Up, XK_ANY_MOD, "\033[A", 0, -1},
{XK_Left, XK_ANY_MOD, "\033OD", 0, +1},
{XK_Right, XK_ANY_MOD, "\033[C", 0, -1},
{XK_Right, XK_ANY_MOD, "\033OC", 0, +1},
- {XK_BackSpace, XK_NO_MOD, "\177", 0, 0}};
+ {XK_BackSpace, XK_ANY_MOD, "\177", 0, 0}};
static uint selmasks[] = {
[SEL_RECTANGULAR] = Mod1Mask,