aboutsummaryrefslogtreecommitdiff
path: root/test/vim/golf/4d1a34ccfa85f32065000004
diff options
context:
space:
mode:
authorRandy Palamar <randy@rnpnr.xyz>2024-05-21 19:53:22 -0600
committerRandy Palamar <randy@rnpnr.xyz>2024-05-21 19:53:22 -0600
commitb7074021b7bfb0932b889b9560dd22df31cef818 (patch)
tree0295b18de8fb8ea5289cbda95675687ae06025ff /test/vim/golf/4d1a34ccfa85f32065000004
parentb7f8018a00be930e3f2b864949aec1f91291309c (diff)
parentefafa3c178268a4149fc3e432bc1174a013c16de (diff)
downloadvis-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/golf/4d1a34ccfa85f32065000004')
-rw-r--r--test/vim/golf/4d1a34ccfa85f32065000004/1.in13
-rw-r--r--test/vim/golf/4d1a34ccfa85f32065000004/1.keys6
-rw-r--r--test/vim/golf/4d1a34ccfa85f32065000004/1.ref13
3 files changed, 32 insertions, 0 deletions
diff --git a/test/vim/golf/4d1a34ccfa85f32065000004/1.in b/test/vim/golf/4d1a34ccfa85f32065000004/1.in
new file mode 100644
index 0000000..2fd36cd
--- /dev/null
+++ b/test/vim/golf/4d1a34ccfa85f32065000004/1.in
@@ -0,0 +1,13 @@
+Make the pairs of lines match up by making each second line same as first:
+
+# Appending text:
+The name "Vim" is an acronym for "Vi IMproved"
+The name "Vim" is an acronym for
+
+# Editing text:
+Vim is a text editor originally released by Bram Moolenaar in 1991 for the Amiga
+Trivia: Vim is a text editor released by Bram Moolenaar in 1991 for the Amiga
+
+# Deleting text:
+Vim has a vi compatibility mode
+Vim has a vi compatibility mode but when not in this mode Vim has many enhancements over vi
diff --git a/test/vim/golf/4d1a34ccfa85f32065000004/1.keys b/test/vim/golf/4d1a34ccfa85f32065000004/1.keys
new file mode 100644
index 0000000..c5e05d8
--- /dev/null
+++ b/test/vim/golf/4d1a34ccfa85f32065000004/1.keys
@@ -0,0 +1,6 @@
+qa /* start macro recording */
+/#<Enter> /* search for # */
+jyypjdd /* move down, yank, put, delete line below */
+q /* stop macro recording */
+@a /* replay macro */
+@@ /* replay again */
diff --git a/test/vim/golf/4d1a34ccfa85f32065000004/1.ref b/test/vim/golf/4d1a34ccfa85f32065000004/1.ref
new file mode 100644
index 0000000..0fd29b0
--- /dev/null
+++ b/test/vim/golf/4d1a34ccfa85f32065000004/1.ref
@@ -0,0 +1,13 @@
+Make the pairs of lines match up by making each second line same as first:
+
+# Appending text:
+The name "Vim" is an acronym for "Vi IMproved"
+The name "Vim" is an acronym for "Vi IMproved"
+
+# Editing text:
+Vim is a text editor originally released by Bram Moolenaar in 1991 for the Amiga
+Vim is a text editor originally released by Bram Moolenaar in 1991 for the Amiga
+
+# Deleting text:
+Vim has a vi compatibility mode
+Vim has a vi compatibility mode