diff options
| author | Randy Palamar <randy@rnpnr.xyz> | 2024-05-21 19:53:22 -0600 |
|---|---|---|
| committer | Randy Palamar <randy@rnpnr.xyz> | 2024-05-21 19:53:22 -0600 |
| commit | b7074021b7bfb0932b889b9560dd22df31cef818 (patch) | |
| tree | 0295b18de8fb8ea5289cbda95675687ae06025ff /test/vim/text-objects | |
| parent | b7f8018a00be930e3f2b864949aec1f91291309c (diff) | |
| parent | efafa3c178268a4149fc3e432bc1174a013c16de (diff) | |
| download | vis-b7074021b7bfb0932b889b9560dd22df31cef818.tar.gz vis-b7074021b7bfb0932b889b9560dd22df31cef818.tar.xz | |
Merge vis-tests into test directory
Going forward all tests should be submitted here directly.
Diffstat (limited to 'test/vim/text-objects')
| -rw-r--r-- | test/vim/text-objects/braces-count-linewise.in | 5 | ||||
| -rw-r--r-- | test/vim/text-objects/braces-count-linewise.keys | 2 | ||||
| -rw-r--r-- | test/vim/text-objects/words-count.in | 1 | ||||
| -rw-r--r-- | test/vim/text-objects/words-count.keys | 3 | ||||
| -rw-r--r-- | test/vim/text-objects/words-eol.in | 2 | ||||
| -rw-r--r-- | test/vim/text-objects/words-eol.keys | 1 | ||||
| -rw-r--r-- | test/vim/text-objects/words-symbols.in | 14 | ||||
| -rw-r--r-- | test/vim/text-objects/words-symbols.keys | 19 |
8 files changed, 47 insertions, 0 deletions
diff --git a/test/vim/text-objects/braces-count-linewise.in b/test/vim/text-objects/braces-count-linewise.in new file mode 100644 index 0000000..069493e --- /dev/null +++ b/test/vim/text-objects/braces-count-linewise.in @@ -0,0 +1,5 @@ +struct { + union { + int foo; + }; +}; diff --git a/test/vim/text-objects/braces-count-linewise.keys b/test/vim/text-objects/braces-count-linewise.keys new file mode 100644 index 0000000..6512a22 --- /dev/null +++ b/test/vim/text-objects/braces-count-linewise.keys @@ -0,0 +1,2 @@ +/foo<Enter> +v2a}Vd diff --git a/test/vim/text-objects/words-count.in b/test/vim/text-objects/words-count.in new file mode 100644 index 0000000..b4c23e1 --- /dev/null +++ b/test/vim/text-objects/words-count.in @@ -0,0 +1 @@ +The brown fox jumps over the lazy dog. diff --git a/test/vim/text-objects/words-count.keys b/test/vim/text-objects/words-count.keys new file mode 100644 index 0000000..6cc6542 --- /dev/null +++ b/test/vim/text-objects/words-count.keys @@ -0,0 +1,3 @@ +3ciwchanged<Escape> +/fox<Enter> +5. diff --git a/test/vim/text-objects/words-eol.in b/test/vim/text-objects/words-eol.in new file mode 100644 index 0000000..422c2b7 --- /dev/null +++ b/test/vim/text-objects/words-eol.in @@ -0,0 +1,2 @@ +a +b diff --git a/test/vim/text-objects/words-eol.keys b/test/vim/text-objects/words-eol.keys new file mode 100644 index 0000000..353f4b3 --- /dev/null +++ b/test/vim/text-objects/words-eol.keys @@ -0,0 +1 @@ +viwc-<Escape>
\ No newline at end of file diff --git a/test/vim/text-objects/words-symbols.in b/test/vim/text-objects/words-symbols.in new file mode 100644 index 0000000..d89e82a --- /dev/null +++ b/test/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/test/vim/text-objects/words-symbols.keys b/test/vim/text-objects/words-symbols.keys new file mode 100644 index 0000000..6d655aa --- /dev/null +++ b/test/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. |
