aboutsummaryrefslogtreecommitdiff
path: root/test/vim/golf
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
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')
-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
-rw-r--r--test/vim/golf/4d1ac1800a045132c0000011/1.in2
-rw-r--r--test/vim/golf/4d1ac1800a045132c0000011/1.keys9
-rw-r--r--test/vim/golf/4d1ac1800a045132c0000011/1.ref7
-rw-r--r--test/vim/golf/4d665abd7d73e02a55000009/1.in3
-rw-r--r--test/vim/golf/4d665abd7d73e02a55000009/1.keys.broken16
-rw-r--r--test/vim/golf/4d665abd7d73e02a55000009/1.ref14
-rw-r--r--test/vim/golf/4ddbd92898957e0001000016/1.in24
-rw-r--r--test/vim/golf/4ddbd92898957e0001000016/1.keys8
-rw-r--r--test/vim/golf/4ddbd92898957e0001000016/1.ref24
-rw-r--r--test/vim/golf/4e31627b74ab580001000007/1.disabled22
-rw-r--r--test/vim/golf/4e31627b74ab580001000007/1.in28
-rw-r--r--test/vim/golf/4e31627b74ab580001000007/1.ref26
-rw-r--r--test/vim/golf/4ef209ef78702b0001000019/1.in19
-rw-r--r--test/vim/golf/4ef209ef78702b0001000019/1.keys6
-rw-r--r--test/vim/golf/4ef209ef78702b0001000019/1.ref29
-rw-r--r--test/vim/golf/4fbf8e303be58b0001000024/1.in1
-rw-r--r--test/vim/golf/4fbf8e303be58b0001000024/1.keys14
-rw-r--r--test/vim/golf/4fbf8e303be58b0001000024/1.ref32
-rw-r--r--test/vim/golf/50ad2cb165b8db0002000029/1.in18
-rw-r--r--test/vim/golf/50ad2cb165b8db0002000029/1.keys12
-rw-r--r--test/vim/golf/50ad2cb165b8db0002000029/1.ref7
-rw-r--r--test/vim/golf/50b1d7239aad89000200002d/1.in10
-rw-r--r--test/vim/golf/50b1d7239aad89000200002d/1.ref1
-rw-r--r--test/vim/golf/50c13afab855760002000049/1.in24
-rw-r--r--test/vim/golf/50c13afab855760002000049/1.ref24
-rw-r--r--test/vim/golf/50c18a08b855760002000056/1.in162
-rw-r--r--test/vim/golf/50c18a08b855760002000056/1.keys.broken8
-rw-r--r--test/vim/golf/50c18a08b855760002000056/1.ref162
-rw-r--r--test/vim/golf/50c2c246b0544c000200003f/1.in11
-rw-r--r--test/vim/golf/50c2c246b0544c000200003f/1.ref11
-rw-r--r--test/vim/golf/50d0c33daa503f000200000f/1.in1
-rw-r--r--test/vim/golf/50d0c33daa503f000200000f/1.ref1
-rw-r--r--test/vim/golf/50ee7504c0e3aa0002000040/1.in1
-rw-r--r--test/vim/golf/50ee7504c0e3aa0002000040/1.ref25
-rw-r--r--test/vim/golf/51103ad8041832000200003f/1.in1
-rw-r--r--test/vim/golf/51103ad8041832000200003f/1.ref21
-rw-r--r--test/vim/golf/5192f96ad8df110002000002/1.in2
-rw-r--r--test/vim/golf/5192f96ad8df110002000002/1.ref2
-rw-r--r--test/vim/golf/524e1a20b81fe50002000008/1.in3
-rw-r--r--test/vim/golf/524e1a20b81fe50002000008/1.ref8
-rw-r--r--test/vim/golf/52c3cb0d9b8634000200000e/1.in1
-rw-r--r--test/vim/golf/52c3cb0d9b8634000200000e/1.ref1
-rw-r--r--test/vim/golf/53369b712a09c1000223fb57/1.in15
-rw-r--r--test/vim/golf/53369b712a09c1000223fb57/1.ref15
-rw-r--r--test/vim/golf/536cfa23fcccd100025678bd/1.in1
-rw-r--r--test/vim/golf/536cfa23fcccd100025678bd/1.ref2
-rw-r--r--test/vim/golf/537a553282aa3e000222048a/1.in14
-rw-r--r--test/vim/golf/537a553282aa3e000222048a/1.ref14
-rw-r--r--test/vim/golf/53d93fc3768e280002124f23/1.in1
-rw-r--r--test/vim/golf/53d93fc3768e280002124f23/1.ref1
-rw-r--r--test/vim/golf/54595b13128576000257a3c1/1.in6
-rw-r--r--test/vim/golf/54595b13128576000257a3c1/1.ref6
-rw-r--r--test/vim/golf/5462e3f41198b80002512673/1.in3
-rw-r--r--test/vim/golf/5462e3f41198b80002512673/1.ref3
-rw-r--r--test/vim/golf/54698da795f6da00020d85ed/1.in6
-rw-r--r--test/vim/golf/54698da795f6da00020d85ed/1.ref3
-rw-r--r--test/vim/golf/54862fbb3f90ac0002904cf5/1.in8
-rw-r--r--test/vim/golf/54862fbb3f90ac0002904cf5/1.ref3
-rw-r--r--test/vim/golf/55771cc4750ef86573003b83/1.in11
-rw-r--r--test/vim/golf/55771cc4750ef86573003b83/1.ref11
-rw-r--r--test/vim/golf/559c30948ef59c0eb7000002/1.in5
-rw-r--r--test/vim/golf/559c30948ef59c0eb7000002/1.ref1
-rw-r--r--test/vim/golf/55b18bbea9c2c30d04000001/1.in10
-rw-r--r--test/vim/golf/55b18bbea9c2c30d04000001/1.ref13
-rw-r--r--test/vim/golf/55bcdc3ef4219f456102374f/1.in1
-rw-r--r--test/vim/golf/55bcdc3ef4219f456102374f/1.ref1
-rw-r--r--test/vim/golf/55f9720b4a665c2acf0008c8/1.in4
-rw-r--r--test/vim/golf/55f9720b4a665c2acf0008c8/1.ref8
71 files changed, 999 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
diff --git a/test/vim/golf/4d1ac1800a045132c0000011/1.in b/test/vim/golf/4d1ac1800a045132c0000011/1.in
new file mode 100644
index 0000000..f424d93
--- /dev/null
+++ b/test/vim/golf/4d1ac1800a045132c0000011/1.in
@@ -0,0 +1,2 @@
+#include<stdio.h>
+int main(void){puts("Hello world!");return 0;}
diff --git a/test/vim/golf/4d1ac1800a045132c0000011/1.keys b/test/vim/golf/4d1ac1800a045132c0000011/1.keys
new file mode 100644
index 0000000..992c6c4
--- /dev/null
+++ b/test/vim/golf/4d1ac1800a045132c0000011/1.keys
@@ -0,0 +1,9 @@
+f<i<Space><Escape> /* move to first < and insert space */
+o<Escape> /* insert new line */
+jf{i<Enter><Escape> /* insert new line before { */
+w. /* repeat to insert new line before puts */
+f;a<Enter><Escape> /* insert new line after ; */
+;. /* repeat last f search, repeat append */
+ki<Space><Escape> /* move line up, insert space */
+3. /* insert 3 more spaces (TODO: implement [count]i ?) */
+k^4. /* move line up, insert 4 spaces */ \ No newline at end of file
diff --git a/test/vim/golf/4d1ac1800a045132c0000011/1.ref b/test/vim/golf/4d1ac1800a045132c0000011/1.ref
new file mode 100644
index 0000000..41240ba
--- /dev/null
+++ b/test/vim/golf/4d1ac1800a045132c0000011/1.ref
@@ -0,0 +1,7 @@
+#include <stdio.h>
+
+int main(void)
+{
+ puts("Hello world!");
+ return 0;
+}
diff --git a/test/vim/golf/4d665abd7d73e02a55000009/1.in b/test/vim/golf/4d665abd7d73e02a55000009/1.in
new file mode 100644
index 0000000..a381a49
--- /dev/null
+++ b/test/vim/golf/4d665abd7d73e02a55000009/1.in
@@ -0,0 +1,3 @@
+List<Double> c = new ArrayList<Double>();
+ 112.2), 102), 12), 954), 39.43), 49.4), 2224.6), 94), 123), 4929.55), 12), 98), 91.22)
+};
diff --git a/test/vim/golf/4d665abd7d73e02a55000009/1.keys.broken b/test/vim/golf/4d665abd7d73e02a55000009/1.keys.broken
new file mode 100644
index 0000000..81a68e9
--- /dev/null
+++ b/test/vim/golf/4d665abd7d73e02a55000009/1.keys.broken
@@ -0,0 +1,16 @@
+iList<<Escape> /* insert List< */
+~ /* upper case d to D */
+yiw /* yank Double */
+wx /* delete [ */
+r> /* overwrite ] with > */
+A new ArrayList<>();<Escape> /* append text */
+F< /* find backwards */
+"0p
+ /* paste from yank register */
+jdd /* delete { line */
+3J /* join data on single line */
+qa /* start macro recording */
+f,i)<Escape> /* insert ) before comma */
+q /* stop macro recording */
+@a /* replay macro */
+@@@@@@@@@@@@@@ /* again (TODO: count for macro replay, make @ repeatable) */
diff --git a/test/vim/golf/4d665abd7d73e02a55000009/1.ref b/test/vim/golf/4d665abd7d73e02a55000009/1.ref
new file mode 100644
index 0000000..796424a
--- /dev/null
+++ b/test/vim/golf/4d665abd7d73e02a55000009/1.ref
@@ -0,0 +1,14 @@
+List<Double> c = new ArrayList<Double>();
+c.add(112.2);
+c.add(102d);
+c.add(12d);
+c.add(954d);
+c.add(39.43);
+c.add(49.4);
+c.add(2224.6);
+c.add(94d);
+c.add(123d);
+c.add(4929.55);
+c.add(12d);
+c.add(98d);
+c.add(91.22);
diff --git a/test/vim/golf/4ddbd92898957e0001000016/1.in b/test/vim/golf/4ddbd92898957e0001000016/1.in
new file mode 100644
index 0000000..0be504e
--- /dev/null
+++ b/test/vim/golf/4ddbd92898957e0001000016/1.in
@@ -0,0 +1,24 @@
+China,1,2,3,4,5,6
+Brazil,3,1,2,5,5,6
+SAD,9,2,3,4,5,6
+UK,3,8,3,9,5,1
+France,7,2,3,4,5,6
+Germany,1,7,3,2,5,6
+Russia,1,6,2,9,5,6
+Spain,1,2,2,4,5,6
+Greece,1,3,3,4,5,6
+India,4,2,3,4,5,6
+Turkey,1,2,3,4,5,9
+Poland,1,2,3,4,5,6
+China,1,2,3,8,5,6
+Brazil,1,2,3,4,5,6
+SAD,1,2,3,4,5,6
+UK,1,2,3,4,5,6
+France,1,2,3,4,5,6
+Germany,1,2,3,4,5,6
+Russia,1,2,7,4,5,6
+Spain,1,2,3,4,5,6
+Greece,1,2,2,4,5,6
+India,1,2,8,4,5,6
+Turkey,1,2,1,7,5,6
+Poland,2,2,3,9,5,6
diff --git a/test/vim/golf/4ddbd92898957e0001000016/1.keys b/test/vim/golf/4ddbd92898957e0001000016/1.keys
new file mode 100644
index 0000000..dfa5ea7
--- /dev/null
+++ b/test/vim/golf/4ddbd92898957e0001000016/1.keys
@@ -0,0 +1,8 @@
+qq /* start macro recording */
+* /* search word under cursor */
+dd /* delete line */
+N /* repeat search */
+P /* put before */
+2j /* 2 lines down */
+q /* stop macro recording */
+11@q /* repeat macro 11 times */
diff --git a/test/vim/golf/4ddbd92898957e0001000016/1.ref b/test/vim/golf/4ddbd92898957e0001000016/1.ref
new file mode 100644
index 0000000..8235b1e
--- /dev/null
+++ b/test/vim/golf/4ddbd92898957e0001000016/1.ref
@@ -0,0 +1,24 @@
+China,1,2,3,8,5,6
+China,1,2,3,4,5,6
+Brazil,1,2,3,4,5,6
+Brazil,3,1,2,5,5,6
+SAD,1,2,3,4,5,6
+SAD,9,2,3,4,5,6
+UK,1,2,3,4,5,6
+UK,3,8,3,9,5,1
+France,1,2,3,4,5,6
+France,7,2,3,4,5,6
+Germany,1,2,3,4,5,6
+Germany,1,7,3,2,5,6
+Russia,1,2,7,4,5,6
+Russia,1,6,2,9,5,6
+Spain,1,2,3,4,5,6
+Spain,1,2,2,4,5,6
+Greece,1,2,2,4,5,6
+Greece,1,3,3,4,5,6
+India,1,2,8,4,5,6
+India,4,2,3,4,5,6
+Turkey,1,2,1,7,5,6
+Turkey,1,2,3,4,5,9
+Poland,2,2,3,9,5,6
+Poland,1,2,3,4,5,6
diff --git a/test/vim/golf/4e31627b74ab580001000007/1.disabled b/test/vim/golf/4e31627b74ab580001000007/1.disabled
new file mode 100644
index 0000000..c53b4ca
--- /dev/null
+++ b/test/vim/golf/4e31627b74ab580001000007/1.disabled
@@ -0,0 +1,22 @@
+dd
+ipublic <Escape>
+:%s,\$this->,,g<Enter> /* we use , as delimiter because // interferes with the CPP */
+:%s,\$,,g<Enter>
+:%s,private var,private double var,<Enter>
+/sqrt<Enter>
+iMath.<Escape>
+gg
+/function<Enter>
+dw
+n
+cwvoid<Escape>
+n
+.
+n
+cwdouble<Escape>
+gg
+/val<Enter>
+idouble <Escape> /* in vim <Escape> moves the cursor 1 cell back, hence 2n will not do the right thing */
+fv /* accounts for this cursor is now at the start of "val" */
+2n.
+Gdd
diff --git a/test/vim/golf/4e31627b74ab580001000007/1.in b/test/vim/golf/4e31627b74ab580001000007/1.in
new file mode 100644
index 0000000..469ca12
--- /dev/null
+++ b/test/vim/golf/4e31627b74ab580001000007/1.in
@@ -0,0 +1,28 @@
+<?php
+class Foo
+{
+ private $var1;
+ private $var2;
+
+ public function Foo($val)
+ {
+ $this->init($val);
+ $this->doSomething();
+ }
+
+ private function init($val)
+ {
+ $this->var1 = $val;
+ }
+
+ private function doSomething()
+ {
+ $this->var2 = sqrt($this->var1);
+ }
+
+ public function getResult()
+ {
+ return $this->var2;
+ }
+}
+?>
diff --git a/test/vim/golf/4e31627b74ab580001000007/1.ref b/test/vim/golf/4e31627b74ab580001000007/1.ref
new file mode 100644
index 0000000..b5415ed
--- /dev/null
+++ b/test/vim/golf/4e31627b74ab580001000007/1.ref
@@ -0,0 +1,26 @@
+public class Foo
+{
+ private double var1;
+ private double var2;
+
+ public Foo(double val)
+ {
+ init(val);
+ doSomething();
+ }
+
+ private void init(double val)
+ {
+ var1 = val;
+ }
+
+ private void doSomething()
+ {
+ var2 = Math.sqrt(var1);
+ }
+
+ public double getResult()
+ {
+ return var2;
+ }
+}
diff --git a/test/vim/golf/4ef209ef78702b0001000019/1.in b/test/vim/golf/4ef209ef78702b0001000019/1.in
new file mode 100644
index 0000000..ffe403c
--- /dev/null
+++ b/test/vim/golf/4ef209ef78702b0001000019/1.in
@@ -0,0 +1,19 @@
+#Set the global prefix key to C-q (default is C-b)
+set-option -g prefix C-q
+bind-key C-q last-window
+# Remove default binding since we’re replacing
+unbind %
+bind | split-window -h
+bind - split-window -v
+# Set status bar
+set -g status-bg black
+set -g status-fg white
+set -g status-left '#[fg=green]#H'
+# Highlight active window
+set-window-option -g window-status-current-bg red
+set -g status-right '#[fg=yellow]#(uptime | cut -d "," -f 2-)'
+# Set window notifications
+setw -g monitor-activity on
+set -g visual-activity on
+# Automatically set window title
+setw -g automatic-rename
diff --git a/test/vim/golf/4ef209ef78702b0001000019/1.keys b/test/vim/golf/4ef209ef78702b0001000019/1.keys
new file mode 100644
index 0000000..ff9234f
--- /dev/null
+++ b/test/vim/golf/4ef209ef78702b0001000019/1.keys
@@ -0,0 +1,6 @@
+/# <Enter>
+O<Enter><Escape>
+2n.
+2n.
+2n.
+2n.
diff --git a/test/vim/golf/4ef209ef78702b0001000019/1.ref b/test/vim/golf/4ef209ef78702b0001000019/1.ref
new file mode 100644
index 0000000..4dd2c3f
--- /dev/null
+++ b/test/vim/golf/4ef209ef78702b0001000019/1.ref
@@ -0,0 +1,29 @@
+#Set the global prefix key to C-q (default is C-b)
+set-option -g prefix C-q
+bind-key C-q last-window
+
+
+# Remove default binding since we’re replacing
+unbind %
+bind | split-window -h
+bind - split-window -v
+
+
+# Set status bar
+set -g status-bg black
+set -g status-fg white
+set -g status-left '#[fg=green]#H'
+
+
+# Highlight active window
+set-window-option -g window-status-current-bg red
+set -g status-right '#[fg=yellow]#(uptime | cut -d "," -f 2-)'
+
+
+# Set window notifications
+setw -g monitor-activity on
+set -g visual-activity on
+
+
+# Automatically set window title
+setw -g automatic-rename
diff --git a/test/vim/golf/4fbf8e303be58b0001000024/1.in b/test/vim/golf/4fbf8e303be58b0001000024/1.in
new file mode 100644
index 0000000..3ce3587
--- /dev/null
+++ b/test/vim/golf/4fbf8e303be58b0001000024/1.in
@@ -0,0 +1 @@
+{Vertex('x'): {Vertex('v'): Edge(Vertex('v'), Vertex('x')), Vertex('z'): Edge(Vertex('z'), Vertex('x')), Vertex('y'): Edge(Vertex('y'), Vertex('x'))}, Vertex('y'): {Vertex('x'): Edge(Vertex('y'), Vertex('x')), Vertex('w'): Edge(Vertex('w'), Vertex('y')), Vertex('z'): Edge(Vertex('z'), Vertex('y'))}, Vertex('z'): {Vertex('x'): Edge(Vertex('z'), Vertex('x')), Vertex('y'): Edge(Vertex('z'), Vertex('y')), Vertex('u'): Edge(Vertex('u'), Vertex('z'))}, Vertex('u'): {Vertex('v'): Edge(Vertex('v'), Vertex('u')), Vertex('w'): Edge(Vertex('w'), Vertex('u')), Vertex('z'): Edge(Vertex('u'), Vertex('z'))}, Vertex('v'): {Vertex('u'): Edge(Vertex('v'), Vertex('u')), Vertex('x'): Edge(Vertex('v'), Vertex('x')), Vertex('w'): Edge(Vertex('w'), Vertex('v'))}, Vertex('w'): {Vertex('u'): Edge(Vertex('w'), Vertex('u')), Vertex('v'): Edge(Vertex('w'), Vertex('v')), Vertex('y'): Edge(Vertex('w'), Vertex('y'))}}
diff --git a/test/vim/golf/4fbf8e303be58b0001000024/1.keys b/test/vim/golf/4fbf8e303be58b0001000024/1.keys
new file mode 100644
index 0000000..cc4759e
--- /dev/null
+++ b/test/vim/golf/4fbf8e303be58b0001000024/1.keys
@@ -0,0 +1,14 @@
+a<Enter><Space><Space><Escape> /* line break after {, indent following line with 2 spaces */
+qq /* start macro recording */
+f{a<Enter><Space><Space><Space><Space><Escape> /* line break after {, indent following line with 4 spaces */
+2f,l.
+2;l.
+t}a<Enter><Space><Space><Escape>
+e.x
+q
+@q
+4@@
+gg /* go to very first { of file */
+% /* go to matching bracket at end of file */
+i<Enter><Escape> /* move it to a new line */
+jdd /* delete last line of file */
diff --git a/test/vim/golf/4fbf8e303be58b0001000024/1.ref b/test/vim/golf/4fbf8e303be58b0001000024/1.ref
new file mode 100644
index 0000000..37bcf14
--- /dev/null
+++ b/test/vim/golf/4fbf8e303be58b0001000024/1.ref
@@ -0,0 +1,32 @@
+{
+ Vertex('x'): {
+ Vertex('v'): Edge(Vertex('v'), Vertex('x')),
+ Vertex('z'): Edge(Vertex('z'), Vertex('x')),
+ Vertex('y'): Edge(Vertex('y'), Vertex('x'))
+ },
+ Vertex('y'): {
+ Vertex('x'): Edge(Vertex('y'), Vertex('x')),
+ Vertex('w'): Edge(Vertex('w'), Vertex('y')),
+ Vertex('z'): Edge(Vertex('z'), Vertex('y'))
+ },
+ Vertex('z'): {
+ Vertex('x'): Edge(Vertex('z'), Vertex('x')),
+ Vertex('y'): Edge(Vertex('z'), Vertex('y')),
+ Vertex('u'): Edge(Vertex('u'), Vertex('z'))
+ },
+ Vertex('u'): {
+ Vertex('v'): Edge(Vertex('v'), Vertex('u')),
+ Vertex('w'): Edge(Vertex('w'), Vertex('u')),
+ Vertex('z'): Edge(Vertex('u'), Vertex('z'))
+ },
+ Vertex('v'): {
+ Vertex('u'): Edge(Vertex('v'), Vertex('u')),
+ Vertex('x'): Edge(Vertex('v'), Vertex('x')),
+ Vertex('w'): Edge(Vertex('w'), Vertex('v'))
+ },
+ Vertex('w'): {
+ Vertex('u'): Edge(Vertex('w'), Vertex('u')),
+ Vertex('v'): Edge(Vertex('w'), Vertex('v')),
+ Vertex('y'): Edge(Vertex('w'), Vertex('y'))
+ }
+}
diff --git a/test/vim/golf/50ad2cb165b8db0002000029/1.in b/test/vim/golf/50ad2cb165b8db0002000029/1.in
new file mode 100644
index 0000000..73c092d
--- /dev/null
+++ b/test/vim/golf/50ad2cb165b8db0002000029/1.in
@@ -0,0 +1,18 @@
+> "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium
+> doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore
+> veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim
+> ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit.
+
+Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
+incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
+nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
+
+> Sed quia consequuntur magni dolores eos qui ratione voluptatem sequi
+> nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet,
+> consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt
+> ut labore et dolore magnam aliquam quaerat voluptatem.
+
+Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit
+laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure
+reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur,
+vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"
diff --git a/test/vim/golf/50ad2cb165b8db0002000029/1.keys b/test/vim/golf/50ad2cb165b8db0002000029/1.keys
new file mode 100644
index 0000000..2697a0b
--- /dev/null
+++ b/test/vim/golf/50ad2cb165b8db0002000029/1.keys
@@ -0,0 +1,12 @@
+/><Enter>
+dw
+n.
+n.
+2n.
+n.
+n.
+gg
+4J
+}j3J
+}j4J
+}j.
diff --git a/test/vim/golf/50ad2cb165b8db0002000029/1.ref b/test/vim/golf/50ad2cb165b8db0002000029/1.ref
new file mode 100644
index 0000000..7b76e5a
--- /dev/null
+++ b/test/vim/golf/50ad2cb165b8db0002000029/1.ref
@@ -0,0 +1,7 @@
+> "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit.
+
+Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
+
+> Sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
+
+Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"
diff --git a/test/vim/golf/50b1d7239aad89000200002d/1.in b/test/vim/golf/50b1d7239aad89000200002d/1.in
new file mode 100644
index 0000000..27c1bf2
--- /dev/null
+++ b/test/vim/golf/50b1d7239aad89000200002d/1.in
@@ -0,0 +1,10 @@
+<list>
+ <item>txt123</item>
+ <!-- <item>txt124</item> -->
+ <!-- <item>txt126</item> -->
+ <item>txt127</item>
+ <item>txt137</item>
+ <!-- <item>txt145</item> -->
+ <item>txt148</item>
+ <!-- <item>txt150</item> -->
+</list>
diff --git a/test/vim/golf/50b1d7239aad89000200002d/1.ref b/test/vim/golf/50b1d7239aad89000200002d/1.ref
new file mode 100644
index 0000000..652564f
--- /dev/null
+++ b/test/vim/golf/50b1d7239aad89000200002d/1.ref
@@ -0,0 +1 @@
+^(txt123|txt127|txt137|txt148).*$
diff --git a/test/vim/golf/50c13afab855760002000049/1.in b/test/vim/golf/50c13afab855760002000049/1.in
new file mode 100644
index 0000000..bcab9ea
--- /dev/null
+++ b/test/vim/golf/50c13afab855760002000049/1.in
@@ -0,0 +1,24 @@
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
diff --git a/test/vim/golf/50c13afab855760002000049/1.ref b/test/vim/golf/50c13afab855760002000049/1.ref
new file mode 100644
index 0000000..f466e20
--- /dev/null
+++ b/test/vim/golf/50c13afab855760002000049/1.ref
@@ -0,0 +1,24 @@
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
+a b c d e f g h i j k l m n o p q r s t u v w x y z
diff --git a/test/vim/golf/50c18a08b855760002000056/1.in b/test/vim/golf/50c18a08b855760002000056/1.in
new file mode 100644
index 0000000..9e71395
--- /dev/null
+++ b/test/vim/golf/50c18a08b855760002000056/1.in
@@ -0,0 +1,162 @@
+Left Hand Right Hand Alternating
+desegregated homophony dismantlement
+abracadabra nonillion authenticity
+aftereffect polyphony enchantment
+desegregate homonymy entitlement
+exaggerated Honolulu proficiency
+extraverted lollipop aneurysmal
+resegregate lollypop antisocial
+reverberate Monopoly Dickensian
+abstracted monopoly Kamehameha
+abstracter nonunion producible
+aftertaste Philippi proficient
+afterwards Pilipino Shenandoah
+aggravated polonium skepticism
+Artaxerxes holmium subproblem
+asseverate homonym suspensory
+Basseterre jillion Aleutians
+Bradstreet jollily amendment
+desecrater jumpily antitoxic
+devastated killjoy antivirus
+effervesce kinkily auditoria
+exacerbate Limpopo authentic
+exaggerate lumpily cockfight
+segregated million dirigible
+stagecraft minimum dismantle
+statecraft mullion disorient
+stewardess nonoily divisible
+sweetbread opinion Dixieland
+vertebrate Phillip dizygotic
+watercraft pillion downright
+watercress pumpkin dyspepsia
+abscessed hiphop dyspeptic
+addressee holily endowment
+aftercare homily firmament
+afterward hominy handiwork
+aggravate hookup Malayalam
+aggregate johnny Malaysian
+arrearage Joplin Maldivian
+attracted Kikuyu Mauritian
+barefaced kimono orificial
+beefeater Kunlun pantheism
+castrater limply protozoan
+cerebrate linkup provisory
+crabgrass minion rhapsodic
+Descartes mukluk sudorific
+desecrate muumuu Theodoric
+devastate Nippon tormentor
+eastwards oilily Uruguayan
+eggbeater Philip Vientiane
+extravert phyllo Aleutian
+federated phylum aneurism
+gazetteer pimply aneurysm
+readdress pinion antibody
+rearwards Pinyin Antiguan
+redbreast pinyin auditory
+redresser pinyon blandish
+regretter pippin bodywork
+Sacagawea plummy Boeotian
+sassafras pokily Buchanan
+scattered pompom Burnsian
+scatterer pompon busybody
+segregate poplin busywork
+staggered pullup chairman
+staggerer punily chrismal
+stargazer punkin clansman
+steadfast unholy clemency
+streetcar unhook corpsman
+traverser unlink cyclamen
+Tsvetaeva uphill dormancy
+vertebrae hilly downtick
+Watergate hippo downtown
+westwards hippy downturn
+Zacatecas hokku fiendish
+abstract hokum fishbowl
+acerbate Holly flamenco
+affected holly Futurism
+arrester honky futurism
+artefact hooky futurity
+asserter hulky Ghanaian
+attester hullo handheld
+baccarat hunky handmaid
+Barabbas Ilion Langland
+barrette Ilium Mahayana
+barterer ilium maieutic
+battered imply Malaysia
+batterer Jilin mandible
+bedstead Jimmy Menelaus
+begetter jimmy Nanchang
+bereaved jinni neighbor
+beverage jolly nepenthe
+braggart jumpy neuritic
+Caesarea junky neuritis
+carefree khoum neurosis
+caresser kinky neurotic
+Carreras knoll ornament
+Cascades kooky penchant
+cassette Lippi prorogue
+castrate lippy prosodic
+cataract Lonny protozoa
+crevasse loony prurient
+database loopy quantify
+deadbeat lumpy quantity
+deceased lupin rhapsody
+decrease lymph rifleman
+defeater milky Rightism
+defecate minim rightism
+deferrer Molly rigidity
+degraded molly rigorism
+degrader mommy rockfish
+deserted moony rugosity
+deserter mummy shamrock
+deserved Nihon Shanghai
+detecter ninny shanghai
+dragster nippy sorority
+dressage nylon syzygial
+eastward nymph ticktock
+excavate onion townsman
+excesses oomph toxicity
+execrate opium turndown
+exegeses phony tutorial
+federate pinky viridity
+freebase pinon Visigoth
+freeware pinup alembic
+rearrest Pliny alright
+rearward plump ambient
+reassert plumy ancient
+reassess plunk Antigua
+recesses polio antique
+recreate Polly apricot
+Redgrave polyp audible
+referrer poppy auditor
+refreeze pulpy augment
+resected pupil auricle
+reserved puppy bicycle
+reserves pylon Blanche
+retarded Union Boeotia
+retarder union buckeye
+reverser unpin chaotic
+reverter Yukon ciboria
+revetted yummy clamant
+scabbard Yupik clangor
+seafarer yuppy Claudia
+seawards hill Clemens
+seawater holy Clement
+seedcase homy clement
+serrated honk Coblenz
+setscrew hook corncob
+sewerage hoop cornrow
+sextette Hopi cowhand
+staggers hulk Cowpens
+stargaze Hull cubicle
+steerage hull cuticle
+stressed hump Dickens
+tattered hunk divisor
+terraced hymn dormant
+tesserae hypo Dubuque
+traverse ikon element
+tweezers inky enchant
+vegetate inly Enfield
+vertebra Ipoh England
+waterbed Jill entitle
+westward jinn figment
diff --git a/test/vim/golf/50c18a08b855760002000056/1.keys.broken b/test/vim/golf/50c18a08b855760002000056/1.keys.broken
new file mode 100644
index 0000000..50fbf04
--- /dev/null
+++ b/test/vim/golf/50c18a08b855760002000056/1.keys.broken
@@ -0,0 +1,8 @@
+j
+VGI
+e
+a<S-Tab><Space><Escape>
+dw
+e
+a<S-Tab><Space><Space><Escape>
+dw \ No newline at end of file
diff --git a/test/vim/golf/50c18a08b855760002000056/1.ref b/test/vim/golf/50c18a08b855760002000056/1.ref
new file mode 100644
index 0000000..5330226
--- /dev/null
+++ b/test/vim/golf/50c18a08b855760002000056/1.ref
@@ -0,0 +1,162 @@
+Left Hand Right Hand Alternating
+desegregated homophony dismantlement
+abracadabra nonillion authenticity
+aftereffect polyphony enchantment
+desegregate homonymy entitlement
+exaggerated Honolulu proficiency
+extraverted lollipop aneurysmal
+resegregate lollypop antisocial
+reverberate Monopoly Dickensian
+abstracted monopoly Kamehameha
+abstracter nonunion producible
+aftertaste Philippi proficient
+afterwards Pilipino Shenandoah
+aggravated polonium skepticism
+Artaxerxes holmium subproblem
+asseverate homonym suspensory
+Basseterre jillion Aleutians
+Bradstreet jollily amendment
+desecrater jumpily antitoxic
+devastated killjoy antivirus
+effervesce kinkily auditoria
+exacerbate Limpopo authentic
+exaggerate lumpily cockfight
+segregated million dirigible
+stagecraft minimum dismantle
+statecraft mullion disorient
+stewardess nonoily divisible
+sweetbread opinion Dixieland
+vertebrate Phillip dizygotic
+watercraft pillion downright
+watercress pumpkin dyspepsia
+abscessed hiphop dyspeptic
+addressee holily endowment
+aftercare homily firmament
+afterward hominy handiwork
+aggravate hookup Malayalam
+aggregate johnny Malaysian
+arrearage Joplin Maldivian
+attracted Kikuyu Mauritian
+barefaced kimono orificial
+beefeater Kunlun pantheism
+castrater limply protozoan
+cerebrate linkup provisory
+crabgrass minion rhapsodic
+Descartes mukluk sudorific
+desecrate muumuu Theodoric
+devastate Nippon tormentor
+eastwards oilily Uruguayan
+eggbeater Philip Vientiane
+extravert phyllo Aleutian
+federated phylum aneurism
+gazetteer pimply aneurysm
+readdress pinion antibody
+rearwards Pinyin Antiguan
+redbreast pinyin auditory
+redresser pinyon blandish
+regretter pippin bodywork
+Sacagawea plummy Boeotian
+sassafras pokily Buchanan
+scattered pompom Burnsian
+scatterer pompon busybody
+segregate poplin busywork
+staggered pullup chairman
+staggerer punily chrismal
+stargazer punkin clansman
+steadfast unholy clemency
+streetcar unhook corpsman
+traverser unlink cyclamen
+Tsvetaeva uphill dormancy
+vertebrae hilly downtick
+Watergate hippo downtown
+westwards hippy downturn
+Zacatecas hokku fiendish
+abstract hokum fishbowl
+acerbate Holly flamenco
+affected holly Futurism
+arrester honky futurism
+artefact hooky futurity
+asserter hulky Ghanaian
+attester hullo handheld
+baccarat hunky handmaid
+Barabbas Ilion Langland
+barrette Ilium Mahayana
+barterer ilium maieutic
+battered imply Malaysia
+batterer Jilin mandible
+bedstead Jimmy Menelaus
+begetter jimmy Nanchang
+bereaved jinni neighbor
+beverage jolly nepenthe
+braggart jumpy neuritic
+Caesarea junky neuritis
+carefree khoum neurosis
+caresser kinky neurotic
+Carreras knoll ornament
+Cascades kooky penchant
+cassette Lippi prorogue
+castrate lippy prosodic
+cataract Lonny protozoa
+crevasse loony prurient
+database loopy quantify
+deadbeat lumpy quantity
+deceased lupin rhapsody
+decrease lymph rifleman
+defeater milky Rightism
+defecate minim rightism
+deferrer Molly rigidity
+degraded molly rigorism
+degrader mommy rockfish
+deserted moony rugosity
+deserter mummy shamrock
+deserved Nihon Shanghai
+detecter ninny shanghai
+dragster nippy sorority
+dressage nylon syzygial
+eastward nymph ticktock
+excavate onion townsman
+excesses oomph toxicity
+execrate opium turndown
+exegeses phony tutorial
+federate pinky viridity
+freebase pinon Visigoth
+freeware pinup alembic
+rearrest Pliny alright
+rearward plump ambient
+reassert plumy ancient
+reassess plunk Antigua
+recesses polio antique
+recreate Polly apricot
+Redgrave polyp audible
+referrer poppy auditor
+refreeze pulpy augment
+resected pupil auricle
+reserved puppy bicycle
+reserves pylon Blanche
+retarded Union Boeotia
+retarder union buckeye
+reverser unpin chaotic
+reverter Yukon ciboria
+revetted yummy clamant
+scabbard Yupik clangor
+seafarer yuppy Claudia
+seawards hill Clemens
+seawater holy Clement
+seedcase homy clement
+serrated honk Coblenz
+setscrew hook corncob
+sewerage hoop cornrow
+sextette Hopi cowhand
+staggers hulk Cowpens
+stargaze Hull cubicle
+steerage hull cuticle
+stressed hump Dickens
+tattered hunk divisor
+terraced hymn dormant
+tesserae hypo Dubuque
+traverse ikon element
+tweezers inky enchant
+vegetate inly Enfield
+vertebra Ipoh England
+waterbed Jill entitle
+westward jinn figment
diff --git a/test/vim/golf/50c2c246b0544c000200003f/1.in b/test/vim/golf/50c2c246b0544c000200003f/1.in
new file mode 100644
index 0000000..fcae67c
--- /dev/null
+++ b/test/vim/golf/50c2c246b0544c000200003f/1.in
@@ -0,0 +1,11 @@
+01234567890123456789012345678901234567890123456789012345678901234567890123456789
+1 0
+2 1
+3 2
+4 3
+5 4
+6 5
+7 6
+8 7
+9 8
+01234567890123456789012345678901234567890123456789012345678901234567890123456789
diff --git a/test/vim/golf/50c2c246b0544c000200003f/1.ref b/test/vim/golf/50c2c246b0544c000200003f/1.ref
new file mode 100644
index 0000000..d56793e
--- /dev/null
+++ b/test/vim/golf/50c2c246b0544c000200003f/1.ref
@@ -0,0 +1,11 @@
+01234567890123456789012345678901234567890123456789012345678901234567890123456789
+1 0 0 0 0 0 0 0 0
+2 1 1 1 1 1 1 1 1
+3 2 2 2 2 2 2 2 2
+4 3 3 3 3 3 3 3 3
+5 4 4 4 4 4 4 4 4
+6 5 5 5 5 5 5 5 5
+7 6 6 6 6 6 6 6 6
+8 7 7 7 7 7 7 7 7
+9 8 8 8 8 8 8 8 8
+01234567890123456789012345678901234567890123456789012345678901234567890123456789
diff --git a/test/vim/golf/50d0c33daa503f000200000f/1.in b/test/vim/golf/50d0c33daa503f000200000f/1.in
new file mode 100644
index 0000000..da6f346
--- /dev/null
+++ b/test/vim/golf/50d0c33daa503f000200000f/1.in
@@ -0,0 +1 @@
+(a) (abc) (abcd) (123456)
diff --git a/test/vim/golf/50d0c33daa503f000200000f/1.ref b/test/vim/golf/50d0c33daa503f000200000f/1.ref
new file mode 100644
index 0000000..a0e78fa
--- /dev/null
+++ b/test/vim/golf/50d0c33daa503f000200000f/1.ref
@@ -0,0 +1 @@
+___ _____ ______ ________
diff --git a/test/vim/golf/50ee7504c0e3aa0002000040/1.in b/test/vim/golf/50ee7504c0e3aa0002000040/1.in
new file mode 100644
index 0000000..6882dcc
--- /dev/null
+++ b/test/vim/golf/50ee7504c0e3aa0002000040/1.in
@@ -0,0 +1 @@
+vimchallenge
diff --git a/test/vim/golf/50ee7504c0e3aa0002000040/1.ref b/test/vim/golf/50ee7504c0e3aa0002000040/1.ref
new file mode 100644
index 0000000..c0fe2ae
--- /dev/null
+++ b/test/vim/golf/50ee7504c0e3aa0002000040/1.ref
@@ -0,0 +1,25 @@
+vimchallenge
+vimchalleng
+vimchallen
+vimchalle
+vimchall
+vimchal
+vimcha
+vimch
+vimc
+vim
+vi
+v
+
+vimchallenge
+imchallenge
+mchallenge
+challenge
+hallenge
+allenge
+llenge
+lenge
+enge
+nge
+ge
+e
diff --git a/test/vim/golf/51103ad8041832000200003f/1.in b/test/vim/golf/51103ad8041832000200003f/1.in
new file mode 100644
index 0000000..f027e0d
--- /dev/null
+++ b/test/vim/golf/51103ad8041832000200003f/1.in
@@ -0,0 +1 @@
+vim
diff --git a/test/vim/golf/51103ad8041832000200003f/1.ref b/test/vim/golf/51103ad8041832000200003f/1.ref
new file mode 100644
index 0000000..f7802ff
--- /dev/null
+++ b/test/vim/golf/51103ad8041832000200003f/1.ref
@@ -0,0 +1,21 @@
+ v v v v v v v v v v v v v v v v v v v v v v
+vimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvim
+ m m m m m m m m m m m m m m m m m m m m m m
+ v v v v v v v v v v v v v v v v v v v v v v
+vimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvim
+ m m m m m m m m m m m m m m m m m m m m m m
+ v v v v v v v v v v v v v v v v v v v v v v
+vimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvim
+ m m m m m m m m m m m m m m m m m m m m m m
+ v v v v v v v v v v v v v v v v v v v v v v
+vimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvim
+ m m m m m m m m m m m m m m m m m m m m m m
+ v v v v v v v v v v v v v v v v v v v v v v
+vimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvim
+ m m m m m m m m m m m m m m m m m m m m m m
+ v v v v v v v v v v v v v v v v v v v v v v
+vimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvim
+ m m m m m m m m m m m m m m m m m m m m m m
+ v v v v v v v v v v v v v v v v v v v v v v
+vimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvim
+ m m m m m m m m m m m m m m m m m m m m m m
diff --git a/test/vim/golf/5192f96ad8df110002000002/1.in b/test/vim/golf/5192f96ad8df110002000002/1.in
new file mode 100644
index 0000000..7e6e08d
--- /dev/null
+++ b/test/vim/golf/5192f96ad8df110002000002/1.in
@@ -0,0 +1,2 @@
+one two
+three
diff --git a/test/vim/golf/5192f96ad8df110002000002/1.ref b/test/vim/golf/5192f96ad8df110002000002/1.ref
new file mode 100644
index 0000000..729970d
--- /dev/null
+++ b/test/vim/golf/5192f96ad8df110002000002/1.ref
@@ -0,0 +1,2 @@
+(one) (two)
+(three)
diff --git a/test/vim/golf/524e1a20b81fe50002000008/1.in b/test/vim/golf/524e1a20b81fe50002000008/1.in
new file mode 100644
index 0000000..d8e8a75
--- /dev/null
+++ b/test/vim/golf/524e1a20b81fe50002000008/1.in
@@ -0,0 +1,3 @@
+attr_reader :align, :variables, :with
+attr_accessor :spaces, :to, :complete, :challenge
+# vim: set expandtab:
diff --git a/test/vim/golf/524e1a20b81fe50002000008/1.ref b/test/vim/golf/524e1a20b81fe50002000008/1.ref
new file mode 100644
index 0000000..c7d11b1
--- /dev/null
+++ b/test/vim/golf/524e1a20b81fe50002000008/1.ref
@@ -0,0 +1,8 @@
+attr_reader :align,
+ :variables,
+ :with
+attr_accessor :spaces,
+ :to,
+ :complete,
+ :challenge
+# vim: set expandtab:
diff --git a/test/vim/golf/52c3cb0d9b8634000200000e/1.in b/test/vim/golf/52c3cb0d9b8634000200000e/1.in
new file mode 100644
index 0000000..41b33e6
--- /dev/null
+++ b/test/vim/golf/52c3cb0d9b8634000200000e/1.in
@@ -0,0 +1 @@
+A HAPPY END WITH YEAR 2013 !
diff --git a/test/vim/golf/52c3cb0d9b8634000200000e/1.ref b/test/vim/golf/52c3cb0d9b8634000200000e/1.ref
new file mode 100644
index 0000000..40856ae
--- /dev/null
+++ b/test/vim/golf/52c3cb0d9b8634000200000e/1.ref
@@ -0,0 +1 @@
+A HAPPY NEW YEAR 2014 !
diff --git a/test/vim/golf/53369b712a09c1000223fb57/1.in b/test/vim/golf/53369b712a09c1000223fb57/1.in
new file mode 100644
index 0000000..4659403
--- /dev/null
+++ b/test/vim/golf/53369b712a09c1000223fb57/1.in
@@ -0,0 +1,15 @@
+/* Frame (32 bytes) */
+static const unsigned char pkt1[32] = {
+0x08, 0x60, 0x6e, 0xf1, 0x3c, 0xb9, 0x9c, 0xc7, /* .`n.<... */
+0xa6, 0x35, 0x08, 0x12, 0x08, 0x00, 0x45, 0x00, /* .5....E. */
+0x05, 0xdc, 0x1b, 0xe3, 0x40, 0x00, 0x31, 0x06, /* ....@.1. */
+0xe8, 0xc8, 0xcb, 0xd9, 0x00, 0xda, 0xc0, 0xa8 /* ........ */
+};
+
+/* Frame (32 bytes) */
+static const unsigned char pkt2[32] = {
+0x08, 0x60, 0x6e, 0xf1, 0x3c, 0xb9, 0x9c, 0xc7, /* .`n.<... */
+0xa6, 0x35, 0x08, 0x12, 0x08, 0x00, 0x45, 0x00, /* .5....E. */
+0x05, 0xdc, 0x6b, 0x98, 0x40, 0x00, 0x31, 0x06, /* ..k.@.1. */
+0x99, 0x13, 0xcb, 0xd9, 0x00, 0xda, 0xc0, 0xa8, /* ........ */
+};
diff --git a/test/vim/golf/53369b712a09c1000223fb57/1.ref b/test/vim/golf/53369b712a09c1000223fb57/1.ref
new file mode 100644
index 0000000..901be5c
--- /dev/null
+++ b/test/vim/golf/53369b712a09c1000223fb57/1.ref
@@ -0,0 +1,15 @@
+/* Frame (32 bytes) */
+static const unsigned char pkt1[2][32] = {
+ {
+ 0x08, 0x60, 0x6e, 0xf1, 0x3c, 0xb9, 0x9c, 0xc7, /* .`n.<... */
+ 0xa6, 0x35, 0x08, 0x12, 0x08, 0x00, 0x45, 0x00, /* .5....E. */
+ 0x05, 0xdc, 0x1b, 0xe3, 0x40, 0x00, 0x31, 0x06, /* ....@.1. */
+ 0xe8, 0xc8, 0xcb, 0xd9, 0x00, 0xda, 0xc0, 0xa8 /* ........ */
+ },
+ {
+ 0x08, 0x60, 0x6e, 0xf1, 0x3c, 0xb9, 0x9c, 0xc7, /* .`n.<... */
+ 0xa6, 0x35, 0x08, 0x12, 0x08, 0x00, 0x45, 0x00, /* .5....E. */
+ 0x05, 0xdc, 0x6b, 0x98, 0x40, 0x00, 0x31, 0x06, /* ..k.@.1. */
+ 0x99, 0x13, 0xcb, 0xd9, 0x00, 0xda, 0xc0, 0xa8, /* ........ */
+ }
+};
diff --git a/test/vim/golf/536cfa23fcccd100025678bd/1.in b/test/vim/golf/536cfa23fcccd100025678bd/1.in
new file mode 100644
index 0000000..2085e46
--- /dev/null
+++ b/test/vim/golf/536cfa23fcccd100025678bd/1.in
@@ -0,0 +1 @@
+attr("y",function(v){return v})
diff --git a/test/vim/golf/536cfa23fcccd100025678bd/1.ref b/test/vim/golf/536cfa23fcccd100025678bd/1.ref
new file mode 100644
index 0000000..dde279f
--- /dev/null
+++ b/test/vim/golf/536cfa23fcccd100025678bd/1.ref
@@ -0,0 +1,2 @@
+f=function(v){return v};
+attr("y",f)
diff --git a/test/vim/golf/537a553282aa3e000222048a/1.in b/test/vim/golf/537a553282aa3e000222048a/1.in
new file mode 100644
index 0000000..d58dfaa
--- /dev/null
+++ b/test/vim/golf/537a553282aa3e000222048a/1.in
@@ -0,0 +1,14 @@
+<table>
+<thead>
+<th>
+<th id="first_name">First Name</th>
+<th id="last_name">Last Name</th>
+<th id="address">Address</th>
+<th id="city">City</th>
+<th id="state">State</th>
+<th id="zip_postal">Zip</th>
+<th id="country">Country</th>
+<th id="phone">Phone</th>
+</th>
+</thead>
+</table>
diff --git a/test/vim/golf/537a553282aa3e000222048a/1.ref b/test/vim/golf/537a553282aa3e000222048a/1.ref
new file mode 100644
index 0000000..5ec0884
--- /dev/null
+++ b/test/vim/golf/537a553282aa3e000222048a/1.ref
@@ -0,0 +1,14 @@
+<table>
+ <thead>
+ <th>
+ <th id="first_name"> First Name</th>
+ <th id="last_name "> Last Name </th>
+ <th id="address "> Address </th>
+ <th id="city "> City </th>
+ <th id="state "> State </th>
+ <th id="zip_postal"> Zip </th>
+ <th id="country "> Country </th>
+ <th id="phone "> Phone </th>
+ </th>
+ </thead>
+</table>
diff --git a/test/vim/golf/53d93fc3768e280002124f23/1.in b/test/vim/golf/53d93fc3768e280002124f23/1.in
new file mode 100644
index 0000000..6c66521
--- /dev/null
+++ b/test/vim/golf/53d93fc3768e280002124f23/1.in
@@ -0,0 +1 @@
+VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
diff --git a/test/vim/golf/53d93fc3768e280002124f23/1.ref b/test/vim/golf/53d93fc3768e280002124f23/1.ref
new file mode 100644
index 0000000..64101a6
--- /dev/null
+++ b/test/vim/golf/53d93fc3768e280002124f23/1.ref
@@ -0,0 +1 @@
+iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
diff --git a/test/vim/golf/54595b13128576000257a3c1/1.in b/test/vim/golf/54595b13128576000257a3c1/1.in
new file mode 100644
index 0000000..c29078f
--- /dev/null
+++ b/test/vim/golf/54595b13128576000257a3c1/1.in
@@ -0,0 +1,6 @@
+10 PRINT "The actual"
+15 PRINT "code doesn't"
+16 PRINT "really matter."
+20 PRINT "Just take"
+25 PRINT "care of"
+30 PRINT "the numbers."
diff --git a/test/vim/golf/54595b13128576000257a3c1/1.ref b/test/vim/golf/54595b13128576000257a3c1/1.ref
new file mode 100644
index 0000000..c9a8e5b
--- /dev/null
+++ b/test/vim/golf/54595b13128576000257a3c1/1.ref
@@ -0,0 +1,6 @@
+10 PRINT "The actual"
+20 PRINT "code doesn't"
+30 PRINT "really matter."
+40 PRINT "Just take"
+50 PRINT "care of"
+60 PRINT "the numbers."
diff --git a/test/vim/golf/5462e3f41198b80002512673/1.in b/test/vim/golf/5462e3f41198b80002512673/1.in
new file mode 100644
index 0000000..9a57bce
--- /dev/null
+++ b/test/vim/golf/5462e3f41198b80002512673/1.in
@@ -0,0 +1,3 @@
+foo = a
+ ab
+ abc
diff --git a/test/vim/golf/5462e3f41198b80002512673/1.ref b/test/vim/golf/5462e3f41198b80002512673/1.ref
new file mode 100644
index 0000000..3e25168
--- /dev/null
+++ b/test/vim/golf/5462e3f41198b80002512673/1.ref
@@ -0,0 +1,3 @@
+foo = "a"
+ "ab"
+ "abc"
diff --git a/test/vim/golf/54698da795f6da00020d85ed/1.in b/test/vim/golf/54698da795f6da00020d85ed/1.in
new file mode 100644
index 0000000..1fc4f34
--- /dev/null
+++ b/test/vim/golf/54698da795f6da00020d85ed/1.in
@@ -0,0 +1,6 @@
+enum PlaybackRequestType {
+ case Next
+ case Previous
+ case Play
+ case Stop
+}
diff --git a/test/vim/golf/54698da795f6da00020d85ed/1.ref b/test/vim/golf/54698da795f6da00020d85ed/1.ref
new file mode 100644
index 0000000..9e8f420
--- /dev/null
+++ b/test/vim/golf/54698da795f6da00020d85ed/1.ref
@@ -0,0 +1,3 @@
+enum PlaybackRequestType {
+ case Next, Previous, Play, Stop
+}
diff --git a/test/vim/golf/54862fbb3f90ac0002904cf5/1.in b/test/vim/golf/54862fbb3f90ac0002904cf5/1.in
new file mode 100644
index 0000000..e47b2ef
--- /dev/null
+++ b/test/vim/golf/54862fbb3f90ac0002904cf5/1.in
@@ -0,0 +1,8 @@
+Leave only the
+numbered lines.
+LINE 1
+LINE 2
+LINE 3
+That's all.
+Thank you
+very much.
diff --git a/test/vim/golf/54862fbb3f90ac0002904cf5/1.ref b/test/vim/golf/54862fbb3f90ac0002904cf5/1.ref
new file mode 100644
index 0000000..bc30bb7
--- /dev/null
+++ b/test/vim/golf/54862fbb3f90ac0002904cf5/1.ref
@@ -0,0 +1,3 @@
+LINE 1
+LINE 2
+LINE 3
diff --git a/test/vim/golf/55771cc4750ef86573003b83/1.in b/test/vim/golf/55771cc4750ef86573003b83/1.in
new file mode 100644
index 0000000..63b0445
--- /dev/null
+++ b/test/vim/golf/55771cc4750ef86573003b83/1.in
@@ -0,0 +1,11 @@
+foo {
+ a => "a",
+ bc => "bc",
+ def => "def",
+ ghij => "ghij",
+ k => "k",
+ lmn => "lmn",
+ opqrst => "opqrst",
+ uvw => "uvw",
+ xyz => "xyz",
+}
diff --git a/test/vim/golf/55771cc4750ef86573003b83/1.ref b/test/vim/golf/55771cc4750ef86573003b83/1.ref
new file mode 100644
index 0000000..d8af11c
--- /dev/null
+++ b/test/vim/golf/55771cc4750ef86573003b83/1.ref
@@ -0,0 +1,11 @@
+foo {
+ a => "a",
+ bc => "bc",
+ def => "def",
+ ghij => "ghij",
+ k => "k",
+ lmn => "lmn",
+ opqrst => "opqrst",
+ uvw => "uvw",
+ xyz => "xyz",
+}
diff --git a/test/vim/golf/559c30948ef59c0eb7000002/1.in b/test/vim/golf/559c30948ef59c0eb7000002/1.in
new file mode 100644
index 0000000..05a126f
--- /dev/null
+++ b/test/vim/golf/559c30948ef59c0eb7000002/1.in
@@ -0,0 +1,5 @@
+* item1
+* item2
+* item3
+* item4
+* item5
diff --git a/test/vim/golf/559c30948ef59c0eb7000002/1.ref b/test/vim/golf/559c30948ef59c0eb7000002/1.ref
new file mode 100644
index 0000000..6c475a7
--- /dev/null
+++ b/test/vim/golf/559c30948ef59c0eb7000002/1.ref
@@ -0,0 +1 @@
+item1,item2,item3,item4,item5
diff --git a/test/vim/golf/55b18bbea9c2c30d04000001/1.in b/test/vim/golf/55b18bbea9c2c30d04000001/1.in
new file mode 100644
index 0000000..9ffc30d
--- /dev/null
+++ b/test/vim/golf/55b18bbea9c2c30d04000001/1.in
@@ -0,0 +1,10 @@
+*temp var1 0
+*temp var2 "hi"
+*temp var3 -1
+*temp var4 42
+*temp var5 "asdf"
+*temp var6 0
+
+Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way."
+
+This challenge is just a simple movement and entering text at a certain place.
diff --git a/test/vim/golf/55b18bbea9c2c30d04000001/1.ref b/test/vim/golf/55b18bbea9c2c30d04000001/1.ref
new file mode 100644
index 0000000..514075f
--- /dev/null
+++ b/test/vim/golf/55b18bbea9c2c30d04000001/1.ref
@@ -0,0 +1,13 @@
+*temp var1 0
+*temp var2 "hi"
+*temp var3 -1
+*temp var4 42
+*temp var5 "asdf"
+*temp var6 0
+*temp var7 11
+
+Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way."
+
+New text.
+
+This challenge is just a simple movement and entering text at a certain place.
diff --git a/test/vim/golf/55bcdc3ef4219f456102374f/1.in b/test/vim/golf/55bcdc3ef4219f456102374f/1.in
new file mode 100644
index 0000000..2fe6575
--- /dev/null
+++ b/test/vim/golf/55bcdc3ef4219f456102374f/1.in
@@ -0,0 +1 @@
+The quick brown fox jumps over the lazy dog.
diff --git a/test/vim/golf/55bcdc3ef4219f456102374f/1.ref b/test/vim/golf/55bcdc3ef4219f456102374f/1.ref
new file mode 100644
index 0000000..356d6fd
--- /dev/null
+++ b/test/vim/golf/55bcdc3ef4219f456102374f/1.ref
@@ -0,0 +1 @@
+The quick lazy dog jumps over the brown fox.
diff --git a/test/vim/golf/55f9720b4a665c2acf0008c8/1.in b/test/vim/golf/55f9720b4a665c2acf0008c8/1.in
new file mode 100644
index 0000000..bc52eec
--- /dev/null
+++ b/test/vim/golf/55f9720b4a665c2acf0008c8/1.in
@@ -0,0 +1,4 @@
+Lôrem Ipsum
+Dolor.eros
+Auctor: eros (elémentum)
+Tincïdunt, âc
diff --git a/test/vim/golf/55f9720b4a665c2acf0008c8/1.ref b/test/vim/golf/55f9720b4a665c2acf0008c8/1.ref
new file mode 100644
index 0000000..5a2aa55
--- /dev/null
+++ b/test/vim/golf/55f9720b4a665c2acf0008c8/1.ref
@@ -0,0 +1,8 @@
+lorem-ipsum:
+ name: "Lôrem Ipsum"
+dolor-eros:
+ name: "Dolor.eros"
+auctor-eros-elementum:
+ name: "Auctor: eros (elémentum)"
+tincidunt-ac:
+ name: "Tincïdunt, âc"