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 89 remaining solutions by signing in and submitting your own entry
#90 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

90 active golfers, 176 entries

Leaderboard (lowest score wins):
11
#31 - Gabriel Siqueira / @gabrielhsiq

07/30/2017 at 08:40PM

11
#32 - Michael Adda / @michael_adda

07/31/2017 at 07:58AM

11
#33 - huho / @huho_xu

08/02/2017 at 09:34PM

11
#34 - Baine Wedlock / @BaineWedlock

08/13/2017 at 06:33PM

11
#35 - Philippe Brouillard / @_kurowasan

08/20/2017 at 03:44AM

11
#36 - Terry Ding / @TerryDing77

08/24/2017 at 11:18AM

11
#37 - Darren Weston / @dazWestonUK

09/01/2017 at 07:55PM

11
#38 - Turkey Man / @lvturkeyman

11/11/2017 at 05:48PM

11
#39 - Fabian Mueller / @dotcsDE

02/08/2018 at 07:05AM

11
#40 - amal / @cdsudama

04/13/2018 at 01:23PM

11
#41 - DHM / @DHM29978992

04/30/2018 at 01:14AM

11
#42 - timonegk / @timonegk

11/25/2018 at 10:54PM

11
#43 - Henrique Malheiro / @rike09

12/02/2018 at 02:57PM

11
#44 - Tomás Cetkovich / @SaladeDeMerde

01/11/2019 at 09:34AM

11
#45 - Mihai / @mihaicristiant

02/01/2019 at 05:41PM

11
#46 - vince / @vincentvangott

03/02/2019 at 05:17PM

11
#47 - Ivan Levcovitz / @ivanlevcovitz

03/14/2020 at 12:28AM

11
#48 - Albrecht Uhlig / @AlbrechtUhlig

08/27/2020 at 09:07AM

11
#49 - Jon Krause / @jkrause314

12/20/2020 at 07:10PM

11
#50 - Selvaganapathy P / @canabady

02/19/2021 at 11:11AM

11
#51 - treb / @treb03683130

03/12/2021 at 01:12AM

11
#52 - pikjes / @pikjes2

03/25/2021 at 02:43PM

11
#53 - sean choi / @joosting

06/04/2021 at 02:52PM

11
#54 - Yassine Deghaies / @MDeghaies

07/27/2021 at 06:24AM

11
#55 - Jean George / @JeanGeo20504212

03/29/2022 at 01:24PM

11
#56 - Alex / @AlexanderHeatl2

05/31/2022 at 10:02PM

11
#57 - moh ayaya / @AyayaMoh

09/23/2023 at 05:13PM

11
#58 - Luoyb / @Luoyb

11/15/2023 at 08:57AM

11
#59 - Peppa Pig / @PeppaPi95550250

07/02/2024 at 08:55AM

12
#60 - quan ngo trong / @quanngotrong1

02/28/2023 at 04:52PM