aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.h2
-rw-r--r--config.mk2
-rw-r--r--st.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/config.h b/config.h
index 754fc00..8c45f89 100644
--- a/config.h
+++ b/config.h
@@ -225,7 +225,7 @@ static Shortcut shortcuts[] = {
{ TERMMOD, XK_V, clippaste, {.i = 0} },
{ ShiftMask, XK_Insert, selpaste, {.i = 0} },
{ TERMMOD, XK_Num_Lock, numlock, {.i = 0} },
- { ControlMask|Mod1Mask, XK_c, keyboard_select,{.i = 0} },
+ { TERMMOD, XK_space, keyboard_select,{.i = 0} },
{ ShiftMask, XK_Page_Up, kscrollup, {.i = -1} },
{ ShiftMask, XK_Page_Down, kscrolldown, {.i = -1} },
{ TERMMOD, XK_U, kscrollup, {.i = -1} },
diff --git a/config.mk b/config.mk
index a0ca32f..8d33114 100644
--- a/config.mk
+++ b/config.mk
@@ -21,7 +21,7 @@ LIBS = -L$(X11LIB) -lm -lrt -lX11 -lutil -lXft \
`$(PKG_CONFIG) --libs freetype2`
# flags
-CFLAGS = -std=c99 -march=ivybridge -Os -pipe
+CFLAGS = -std=c99 -march=tigerlake -O3 -pipe
STCPPFLAGS = -DVERSION=\"$(VERSION)\" -D_XOPEN_SOURCE=600
STCFLAGS = $(INCS) $(STCPPFLAGS) $(CPPFLAGS) $(CFLAGS)
STLDFLAGS = $(LIBS) $(LDFLAGS)
diff --git a/st.c b/st.c
index e625766..a0498cd 100644
--- a/st.c
+++ b/st.c
@@ -2876,7 +2876,7 @@ int trt_kbdselect(KeySym ksym, char *buf, int len) {
cu.x = term.c.x, cu.y = term.c.y;
set_notifmode(0, ksym);
return MODE_KBDSELECT;
- case XK_s :
+ case XK_v :
if ( selectsearch_mode & 1 )
selclear();
else
@@ -2899,7 +2899,7 @@ int trt_kbdselect(KeySym ksym, char *buf, int len) {
case XK_Escape :
if ( !in_use ) break;
selclear();
- case XK_Return :
+ case XK_y :
set_notifmode(4, ksym);
term.c.x = cu.x, term.c.y = cu.y;
select_or_drawcursor(selectsearch_mode = 0, type);