]> git.armaanb.net Git - st.git/blobdiff - config.def.h
use iswspace()/iswpunct() to find word delimiters
[st.git] / config.def.h
index 482901ea41675bdb77bafa15dc34e67a70a9094d..9ce45a7c84ade44f6069439adde11b614264d465 100644 (file)
@@ -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: L" `'\"()[]{}"
+ * More advanced example: L"#$%&+,-./:=?_~"
  */
-wchar_t *worddelimiters = L" ";
+wchar_t *extrawordchars = L"./:";
 
 /* selection timeouts (in milliseconds) */
 static unsigned int doubleclicktimeout = 300;