aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2020-08-29 13:29:01 +0200
committerMarc André Tanner <mat@brain-dump.org>2020-08-31 22:00:57 +0200
commit1cabfc5ae2bae6af5060289497244192a2abb14f (patch)
tree829d4b788942d5020805c0bcdc6c0bfc18acc7fd
parent4c4f6645de77f697a45899e8645e0c2bbdc7208a (diff)
downloadvis-1cabfc5ae2bae6af5060289497244192a2abb14f.tar.gz
vis-1cabfc5ae2bae6af5060289497244192a2abb14f.tar.xz
test/vim: add test for word text objects with symbols
-rw-r--r--vim/text-objects/words-symbols.in14
-rw-r--r--vim/text-objects/words-symbols.keys19
2 files changed, 33 insertions, 0 deletions
diff --git a/vim/text-objects/words-symbols.in b/vim/text-objects/words-symbols.in
new file mode 100644
index 0000000..d89e82a
--- /dev/null
+++ 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
new file mode 100644
index 0000000..6d655aa
--- /dev/null
+++ 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.