Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put 595a5dd1b9304b000c000011

Separate the lines

Every other line is mixed up. Separate them into their original texts.

Start file
Lorem ipsum dolor sit amet, consectetur adipiscing elit,
Whose woods these are I think I know.
sed
do eiusmod tempor incididunt ut labore et dolore magna
His house is in the village though;
aliqua
. Ut enim ad minim veniam, quis nostrud exercitation
He will not see me stopping here
ullamco laboris nisi ut aliquip ex ea commodo consequat
.
To watch his woods fill up with snow.
Duis aute irure dolor in reprehenderit in voluptate velit
My little horse must think it queer
esse cillum dolore eu fugiat nulla pariatur
. Excepteur
To stop without a farmhouse near
sint occaecat cupidatat non proident
, sunt in culpa qui
Between the woods and frozen lake
officia deserunt mollit anim id est laborum
.
The darkest evening of the year.
End file
Lorem ipsum dolor sit amet, consectetur adipiscing 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
.
Duis aute irure dolor in reprehenderit in voluptate velit
esse cillum dolore eu fugiat nulla pariatur
. Excepteur
sint occaecat cupidatat non proident
, sunt in culpa qui
officia deserunt mollit anim id est laborum
.
Whose woods these are I think I know.
His house is in the village though;
He will not see me stopping here
To watch his woods fill up with snow.
My little horse must think it queer
To stop without a farmhouse near
Between the woods and frozen lake
The darkest evening of the year.

View Diff

2d1
< Whose woods these are I think I know.
4d2
< His house is in the village though;
6d3
< He will not see me stopping here
8d4
< To watch his woods fill up with snow.
10d5
< My little horse must think it queer
12d6
< To stop without a farmhouse near
14d7
< Between the woods and frozen lake
15a9,15
> Whose woods these are I think I know.
> His house is in the village though;
> He will not see me stopping here
> To watch his woods fill up with snow.
> My little horse must think it queer
> To stop without a farmhouse near
> Between the woods and frozen lake

Solutions

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 91 remaining solutions by signing in and submitting your own entry
#92 andrea_codes / @andrealobster - Score: 66 - 07/04/17 @ 07:41
:14<CR>ddp:12<CR>ddjp:10<CR>dd2jp:8<CR>dd3jp:6<CR>dd3jjp<Esc>:3<BS>4<CR>dd:9<CR>p:2<CR>dd:8<CR>p:wq<CR>

0 comments


Created by: @BBernardoni

92 active golfers, 182 entries

Leaderboard (lowest score wins):
40
#91 - grigouille / @grigouille2

07/03/2017 at 07:22PM

66
#92 - andrea_codes / @andrealobster

07/04/2017 at 07:41AM