diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-04-19 14:10:13 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-04-19 14:10:13 +0200 |
| commit | 2e102a11afe9b256f0f9cf5391faf445fd40430a (patch) | |
| tree | fcf8f6f4e2b7832bed9c380bf49bcc491ca06292 /vim/golf/4d1a34ccfa85f32065000004 | |
| download | vis-2e102a11afe9b256f0f9cf5391faf445fd40430a.tar.gz vis-2e102a11afe9b256f0f9cf5391faf445fd40430a.tar.xz | |
Initial import of test branch from vis repository
Diffstat (limited to 'vim/golf/4d1a34ccfa85f32065000004')
| -rw-r--r-- | vim/golf/4d1a34ccfa85f32065000004/1.in | 13 | ||||
| -rw-r--r-- | vim/golf/4d1a34ccfa85f32065000004/1.keys | 6 | ||||
| -rw-r--r-- | vim/golf/4d1a34ccfa85f32065000004/1.ref | 13 |
3 files changed, 32 insertions, 0 deletions
diff --git a/vim/golf/4d1a34ccfa85f32065000004/1.in b/vim/golf/4d1a34ccfa85f32065000004/1.in new file mode 100644 index 0000000..2fd36cd --- /dev/null +++ b/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/vim/golf/4d1a34ccfa85f32065000004/1.keys b/vim/golf/4d1a34ccfa85f32065000004/1.keys new file mode 100644 index 0000000..2dc4750 --- /dev/null +++ b/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 (TODO: support count for macro replay) */
\ No newline at end of file diff --git a/vim/golf/4d1a34ccfa85f32065000004/1.ref b/vim/golf/4d1a34ccfa85f32065000004/1.ref new file mode 100644 index 0000000..0fd29b0 --- /dev/null +++ b/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 |
