vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 3afb2d96c584dd6f2f2e27297871d866a1be4447 parent 0a72da0fe3d90c2dd8e49cb0b22029afa384e96a Author: Marc André Tanner <mat@brain-dump.org> Date: Sat, 29 Aug 2020 13:29:01 +0200 test/vim: add test for word text objects with symbols Diffstat:
| A | vim/text-objects/words-symbols.in | | | 14 | ++++++++++++++ |
| A | vim/text-objects/words-symbols.keys | | | 19 | +++++++++++++++++++ |
2 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/vim/text-objects/words-symbols.in b/vim/text-objects/words-symbols.in @@ -0,0 +1,14 @@ +spaces: # +tabs: # +start: #== +middle: =#= +end: ==# +start: #bc +middle: a#b +end: ab# +start: ># < +middle: > # < +end: > #< +start: (_) +middle: (o_o) +end: (Oo_) diff --git a/vim/text-objects/words-symbols.keys b/vim/text-objects/words-symbols.keys @@ -0,0 +1,19 @@ +/#<Enter> +ciw|<Escape> +n. +n. +n. +n. +n. +n. +n. +nr<Space> +ciw|<Escape> +nr<Space> +ciw|<Escape> +nr<Space> +ciw|<Escape> +/_<Enter> +. +n. +n.