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):
13
#61 - Barnaby Colby / @BarnabyColby

07/05/2017 at 08:09AM

14
#62 - Cristian Lupașcu / @clupasq

07/03/2017 at 03:19PM

14
#63 - Anton Styagun / @astyagun

07/03/2017 at 03:55PM

14
#64 - Ben Hill / @KaizenSoze70

07/03/2017 at 04:15PM

14
#65 - John Marks / @__jmarks

07/03/2017 at 04:18PM

14
#66 - Bennett Bernardoni / @BBernardoni

07/03/2017 at 05:01PM

14
#67 - tPenguinLTG / @tpenguinltg

07/04/2017 at 01:34AM

14
#68 - 杨洋 / @176795444

07/04/2017 at 03:09AM

14
#69 - Nick Amin / @thenamin

07/04/2017 at 07:17PM

14
#70 - Dick Quixly / @DickQuixly

07/05/2017 at 01:50AM

14
#71 - David Langford / @BigPantsDave

07/05/2017 at 05:25AM

14
#72 - Yann Vanhalewyn / @yannvanhalewyn

07/06/2017 at 02:48AM

14
#73 - Kieron Browne / @KieronBrowne1

07/06/2017 at 09:54AM

14
#74 - Brian Hall / @_bruab_

07/06/2017 at 04:08PM

14
#75 - Ryan McNamara / @MadDogMcNamara

07/16/2017 at 12:34AM

14
#76 - 黒澤亮二 / @rjkuro

07/23/2017 at 04:08PM

14
#77 - we’re going to need a bigger bot / @assaflavie

07/30/2017 at 06:46PM

14
#78 - Geoff / @RealGeoffErwin

10/09/2017 at 07:14PM

14
#79 - duncan fedde / @dfedde

05/03/2018 at 08:43PM

15
#80 - Tom Taylor / @larsonsduck

07/03/2017 at 03:11PM

16
#81 - Patrick Lavin / @LavinComputes

01/31/2019 at 02:37PM

16
#82 - RockerZZY / @rocker_zzy

07/05/2020 at 03:09AM

17
#83 - Paweł Styczewski / @kryspuss

07/06/2017 at 11:56AM

17
#84 - Ryan Coopersmith / @RyanCoopersmit1

07/10/2017 at 11:21PM

17
#85 - Jurica / @Jurica34581259

12/05/2018 at 03:05AM

17
#86 - Matt / @woodfell

02/15/2021 at 10:55PM

29
#87 - Brian Donovan / @eventualbuddha

11/29/2018 at 02:14AM

35
#88 - KhaAdam / @KhaAdam

08/08/2024 at 08:07AM

38
#89 - anakojm / @anakojm

07/13/2022 at 10:32PM

38
#90 - nickGPT / @nickandbro

08/27/2024 at 05:33AM