Removing the VIM browse patch.
The general reasoning is that the vim browse patch is very invasive, has a high level of complexity, and is incompatible with a significant number of other patches and it complicates further maintenance. Additionally the patch has its own scrollback mechanism which seemingly did not work properly - and nobody seems to have complained about this since the patch was added back in May 2021. If you want to try out the vim browse patch then I would recommend having a play around with the patch author's own build that has this patch integrated: - https://github.com/juliusHuelsmann/st-history-vim - https://github.com/juliusHuelsmann/st Alternatively a tag has been added to this repository that refers to the last commit that still has the vim browse patch: - https://github.com/bakkeby/st-flexipatch/tree/VIM_BROWSE_PATCH
This commit is contained in:
parent
340caa5d0a
commit
e88f2bf20c
13 changed files with 40 additions and 938 deletions
21
config.def.h
21
config.def.h
|
|
@ -222,24 +222,6 @@ unsigned int selectionbg = 259;
|
|||
static int ignoreselfg = 1;
|
||||
#endif // SELECTION_COLORS_PATCH
|
||||
|
||||
#if VIM_BROWSE_PATCH
|
||||
unsigned int const currentBg = 6, buffSize = 2048;
|
||||
/// Enable double / triple click yanking / selection of word / line.
|
||||
int const mouseYank = 1, mouseSelect = 0;
|
||||
/// [Vim Browse] Colors for search results currently on screen.
|
||||
unsigned int const highlightBg = 160, 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}};
|
||||
#endif // VIM_BROWSE_PATCH
|
||||
|
||||
#if BLINKING_CURSOR_PATCH
|
||||
/*
|
||||
* 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
|
||||
|
|
@ -456,9 +438,6 @@ static Shortcut shortcuts[] = {
|
|||
#if INVERT_PATCH
|
||||
{ TERMMOD, XK_X, invert, { 0 } },
|
||||
#endif // INVERT_PATCH
|
||||
#if VIM_BROWSE_PATCH
|
||||
{ MODKEY, XK_c, normalMode, {.i = 0} },
|
||||
#endif // VIM_BROWSE_PATCH
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue