JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
whitespace visualization chars as delemeters
[st.git] / config.h
index 5c656b1..c974087 100644 (file)
--- a/config.h
+++ b/config.h
@@ -5,8 +5,11 @@
  *
  * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
  */
-static char font[] = "Fantasque Sans Mono:pixelsize=16:antialias=true:autohint=false";
-static int borderpx = 1;
+
+static char font[] = "Hack:pixelsize=14:antialias=true:autohint=false";
+// good except smart close quotes: static char font[] = "Fantasque Sans Mono:pixelsize=16:antialias=true:autohint=false";
+//static int borderpx = 25; // setting for run dialog
+static int borderpx = 1; // normal setting
 static int histsize = 2000;
 static char shell[] = "/bin/sh";
 static char *utmp = NULL;
@@ -23,7 +26,7 @@ static float chscale = 1.0;
  *
  * More advanced example: " `'\"()[]{}"
  */
-static char worddelimiters[] = " ";
+static char worddelimiters[] = " →›";
 
 /* selection timeouts (in milliseconds) */
 static unsigned int doubleclicktimeout = 300;
@@ -58,7 +61,8 @@ static unsigned int tabspaces = 4;
 /* Terminal colors (16 first used in escape sequence) */
 static const char *colorname[] = {
        /* 8 normal colors */
-       "#2e3436",
+       // "#0d1b51", // background for run dialog
+       "#2e3436", // normal background
        "#cc0000",
        "#4e9a06",
        "#c4a000",
@@ -122,6 +126,8 @@ static Shortcut shortcuts[] = {
        { ShiftMask,            XK_Insert,      selpaste,       {.i =  0} },
        { MODKEY|ShiftMask,     XK_Insert,      clippaste,      {.i =  0} },
        { MODKEY,               XK_Num_Lock,    numlock,        {.i =  0} },
+       { ShiftMask,            XK_Up,          kscrollup,      {.i = -1} },
+       { ShiftMask,            XK_Down,        kscrolldown,    {.i = -1} },
        { ShiftMask,            XK_Page_Up,     kscrollup,      {.i = -1} },
        { ShiftMask,            XK_Page_Down,   kscrolldown,    {.i = -1} },
 };