X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=config.def.h;h=ac5e8ce2d559f7c45400214cfdddbe27b8822b61;hb=b650256044f867851725f712fdac58d4ff294808;hp=ca6b0db54d263d69847984c94c3a9ed66ca0392c;hpb=b51bcd5553af3db394014efbd78acf7828fa48ff;p=st.git diff --git a/config.def.h b/config.def.h index ca6b0db..ac5e8ce 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; @@ -118,6 +119,8 @@ static const char *colorname[] = { */ unsigned int defaultfg = 7; unsigned int defaultbg = 0; +static unsigned int defaultcs = 256; +static unsigned int defaultrcs = 257; /* * Default shape of cursor @@ -174,8 +177,8 @@ 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} }, - { TERMMOD, XK_I, iso14755, {.i = 0} }, }; /*