X-Git-Url: https://jasonwoof.com/gitweb/?p=st.git;a=blobdiff_plain;f=config.h;h=244c686374cb824df2888dc3231c2d3f96d516d3;hp=12b0fe4d68acc89e8dd6f8a2907e6f404728a551;hb=39b1ca7a6b752bc569936c3d240503f8269fdc78;hpb=77f6cd6f8a8cc7dc53b2a12b0fd069a0d3bfa73a diff --git a/config.h b/config.h index 12b0fe4..244c686 100644 --- a/config.h +++ b/config.h @@ -7,6 +7,7 @@ */ static char font[] = "Fantasque Sans Mono:pixelsize=16:antialias=true:autohint=false"; static int borderpx = 1; +static int histsize = 2000; static char shell[] = "/bin/sh"; static char *utmp = NULL; @@ -39,7 +40,7 @@ static unsigned int actionfps = 30; * blinking timeout (set to 0 to disable blinking) for the terminal blinking * attribute. */ -static unsigned int blinktimeout = 250; +static unsigned int blinktimeout = 0; /* * bell volume. It must be a value between -100 and 100. Use 0 for disabling @@ -121,6 +122,10 @@ 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} }, }; /* @@ -260,8 +265,7 @@ static Key key[] = { { XK_Delete, ShiftMask, "\033[3;2~", +1, 0, 0}, { XK_Delete, XK_ANY_MOD, "\033[3~", -1, 0, 0}, { XK_Delete, XK_ANY_MOD, "\033[3~", +1, 0, 0}, - { XK_BackSpace, XK_ANY_MOD, "\177", -1, 0, 0}, - { XK_BackSpace, XK_ANY_MOD, "\177", +1, 0, 0}, + { XK_BackSpace, XK_ANY_MOD, "\177", 0, 0, 0}, { XK_Home, ShiftMask, "\033[2J", 0, -1, 0}, { XK_Home, ShiftMask, "\033[1;2H", 0, +1, 0}, { XK_Home, XK_ANY_MOD, "\033[H", 0, -1, 0},