aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2025-12-15 19:49:29 -0600
committerTim Keller <tjk@tjkeller.xyz>2025-12-15 19:49:29 -0600
commit0bb1215a02ba21c836087cd6a04817e2f05aced4 (patch)
treec640323159c8b0777a2033f3be923bd6bd29cf73
parent9f020f48989ddace9d3a12ddfa57b6a53636bbcf (diff)
downloadst-0bb1215a02ba21c836087cd6a04817e2f05aced4.tar.xz
st-0bb1215a02ba21c836087cd6a04817e2f05aced4.zip
select links and open with better keybinds
-rw-r--r--config.def.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/config.def.h b/config.def.h
index 48bb124..779056e 100644
--- a/config.def.h
+++ b/config.def.h
@@ -206,7 +206,7 @@ static MouseShortcut mshortcuts[] = {
};
/* Internal keyboard shortcuts. */
-#define MODKEY Mod1Mask
+#define MODKEY Mod1Mask /* alt key */
#define TERMMOD (ControlMask|ShiftMask)
static Shortcut shortcuts[] = {
@@ -225,9 +225,9 @@ static Shortcut shortcuts[] = {
{ TERMMOD, XK_Y, selpaste, {.i = 0} },
{ ShiftMask, XK_Insert, selpaste, {.i = 0} },
{ TERMMOD, XK_Num_Lock, numlock, {.i = 0} },
- { MODKEY, XK_l, selurl, {.i = 0} },
- { MODKEY|ShiftMask, XK_L, selurl, {.i = 1} },
- { TERMMOD, XK_l, selopen, {.i = 0} },
+ { MODKEY, XK_k, selurl, {.i = 0} },
+ { MODKEY, XK_j, selurl, {.i = 1} },
+ { MODKEY, XK_o, selopen, {.i = 0} },
{ ShiftMask, XK_Page_Up, kscrollup, {.i = -1} },
{ ShiftMask, XK_Page_Down, kscrolldown, {.i = -1} },
};