aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorTim Keller <tjkeller.xyz>2025-01-12 15:47:24 -0600
committerTim Keller <tjkeller.xyz>2025-01-12 15:47:24 -0600
commit1f166193fdae70800f0764cdce64eb9924013d1b (patch)
tree4c11a349abcf81b4ceed9677db03fcb865410338 /config.def.h
parent48010bf2c4ba3ca33b5c82bc256133a6893bff3a (diff)
downloadst-1f166193fdae70800f0764cdce64eb9924013d1b.tar.xz
st-1f166193fdae70800f0764cdce64eb9924013d1b.zip
add patch open selected
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index c95f93a..d9ce6cc 100644
--- a/config.def.h
+++ b/config.def.h
@@ -196,6 +196,7 @@ static MouseShortcut mshortcuts[] = {
{ ControlMask, Button5, zoom, {.f = -1}, 0 },
{ XK_ANY_MOD, Button4, kscrollup, {.i = 3}, 0 },
{ XK_ANY_MOD, Button5, kscrolldown, {.i = 3}, 0 },
+ { ControlMask, Button2, selopen, {.i = 0}, 1 },
{ XK_ANY_MOD, Button2, selpaste, {.i = 0}, 1 },
{ XK_ANY_MOD, Button3, selpaste, {.i = 0}, 1 },
{ ShiftMask, Button4, ttysend, {.s = "\033[5;2~"} },
@@ -226,6 +227,7 @@ static Shortcut shortcuts[] = {
{ TERMMOD, XK_Num_Lock, numlock, {.i = 0} },
{ MODKEY, XK_l, copyurl, {.i = 0} },
{ MODKEY|ShiftMask, XK_L, copyurl, {.i = 1} },
+ { TERMMOD, XK_l, selopen, {.i = 0} },
{ ShiftMask, XK_Page_Up, kscrollup, {.i = -1} },
{ ShiftMask, XK_Page_Down, kscrolldown, {.i = -1} },
};