vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit dc35546c39214b3923b67f6c8eae92617dfb9c26 parent dd53d4787e030172a3fdba27891987d1f6774a80 Author: Marc André Tanner <mat@brain-dump.org> Date: Thu, 27 Oct 2016 00:46:55 +0200 view: use more lightweight default white space replacement symbols While the replacement symbols are still not run-time configurable, the new defaults should hopefully please more people. Close #401 Diffstat:
| M | view.c | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/view.c b/view.c @@ -103,10 +103,10 @@ static const SyntaxSymbol symbols_none[] = { }; static const SyntaxSymbol symbols_default[] = { - [SYNTAX_SYMBOL_SPACE] = { "\xC2\xB7" }, - [SYNTAX_SYMBOL_TAB] = { "\xE2\x96\xB6" }, + [SYNTAX_SYMBOL_SPACE] = { "·" /* Middle Dot U+00B7 */ }, + [SYNTAX_SYMBOL_TAB] = { "›" /* Single Right-Pointing Angle Quotation Mark U+203A */ }, [SYNTAX_SYMBOL_TAB_FILL] = { " " }, - [SYNTAX_SYMBOL_EOL] = { "\xE2\x8F\x8E" }, + [SYNTAX_SYMBOL_EOL] = { "↵" /* Downwards Arrow with Corner Leftwards U+21B5 */ }, [SYNTAX_SYMBOL_EOF] = { "~" }, };