X-Git-Url: https://git.danieliu.xyz/?p=st.git;a=blobdiff_plain;f=config.def.h;h=fa94e99dfc7e099175337b5ff2774b4f0a53cc3f;hp=361e138f07643be506f2ae6f73002172793fe6f3;hb=30967a2a66c125cd68ad2c44df11218ccad1105d;hpb=7d59dd715c0b5b219dbb8ac050f2fc07b604e30b diff --git a/config.def.h b/config.def.h index 361e138..fa94e99 100644 --- a/config.def.h +++ b/config.def.h @@ -132,6 +132,20 @@ unsigned int defaultbg = 0; static unsigned int defaultcs = 256; static unsigned int defaultrcs = 257; +unsigned int const currentBg = 6, buffSize = 2048; +/// [Vim Browse] Colors for search results currently on screen. +unsigned int const highlightBg = 9, highlightFg = 15; +char const wDelS[] = "!\"#$%&'()*+,-./:;<=>?@[\\]^`{|}~", wDelL[] = " \t"; +char *nmKeys [] = { ///< Shortcusts executed in normal mode + "R/Building\nN", "r/Building\n", "X/juli@machine\nN", "x/juli@machine\n", + "Q?[Leaving vim, starting execution]\n","F/: error:\nN", "f/: error:\n", "DQf" +}; +unsigned int const amountNmKeys = sizeof(nmKeys) / sizeof(*nmKeys); +/// Style of the {command, search} string shown in the right corner (y,v,V,/) +Glyph styleSearch = {' ', ATTR_ITALIC | ATTR_BOLD_FAINT, 7, 16}; +Glyph style[] = {{' ',ATTR_ITALIC|ATTR_FAINT,15,16}, {' ',ATTR_ITALIC,232,11}, + {' ', ATTR_ITALIC, 232, 4}, {' ', ATTR_ITALIC, 232, 12}}; + /* * https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h4-Functions-using-CSI-_-ordered-by-the-final-character-lparen-s-rparen:CSI-Ps-SP-q.1D81 * Default style of cursor @@ -242,6 +256,7 @@ static Shortcut shortcuts[] = { { TERMMOD, XK_Y, selpaste, {.i = 0} }, { ShiftMask, XK_Insert, selpaste, {.i = 0} }, { TERMMOD, XK_Num_Lock, numlock, {.i = 0} }, + { MODKEY, XK_c, normalMode, {.i = 0} }, }; /*