diff options
-rw-r--r-- | config.h | 2 | ||||
-rw-r--r-- | config.mk | 2 | ||||
-rw-r--r-- | st.c | 4 |
3 files changed, 4 insertions, 4 deletions
@@ -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} }, @@ -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) @@ -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); |