vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 2f539520ab1081f5b60c7bbc577a255fec294f22 parent 6a1757c8f6018e5aca607c646591dfcc239e6d9d Author: Marc André Tanner <mat@brain-dump.org> Date: Sun, 7 Aug 2016 22:17:29 +0200 text-object: add ` as a delimiter for file name text objects In general it might be a better idea to specify these kinds of text objects in terms of characters belonging to them rather than listing a set of delimiting characters. Fixes #350 Diffstat:
| M | text-objects.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/text-objects.c b/text-objects.c @@ -324,7 +324,7 @@ Filerange text_object_number(Text *txt, size_t pos) { static int is_filename_boundary(int c) { switch (c) { case ';': case ':': case '|': - case '"': case '\'': + case '"': case '\'': case '`': case '<': case '>': return true; default: