X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=config.def.h;h=9ce45a7c84ade44f6069439adde11b614264d465;hb=add0211522737b79dad990ccd65c8af63b5cc1dd;hp=823e79f68351946ac2e220919f56b3d037353c11;hpb=67d0cb65d0794e2d91e72e5fa1e3612172e5812e;p=st.git diff --git a/config.def.h b/config.def.h index 823e79f..9ce45a7 100644 --- a/config.def.h +++ b/config.def.h @@ -28,11 +28,12 @@ static float cwscale = 1.0; static float chscale = 1.0; /* - * word delimiter string + * all space and punctuation characters are considered word delimiters, unless + * listed here. * - * More advanced example: " `'\"()[]{}" + * More advanced example: L"#$%&+,-./:=?_~" */ -char *worddelimiters = " "; +wchar_t *extrawordchars = L"./:"; /* selection timeouts (in milliseconds) */ static unsigned int doubleclicktimeout = 300; @@ -176,6 +177,7 @@ static Shortcut shortcuts[] = { { TERMMOD, XK_C, clipcopy, {.i = 0} }, { TERMMOD, XK_V, clippaste, {.i = 0} }, { TERMMOD, XK_Y, selpaste, {.i = 0} }, + { ShiftMask, XK_Insert, selpaste, {.i = 0} }, { TERMMOD, XK_Num_Lock, numlock, {.i = 0} }, };