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 4d1b3d57c58eaa2a8a000510

Sorting paragraphs

Order the paragraphs correctly, per prefixed index

Start file
4) Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla feugiat placerat odio. 
Praesent tempus, enim eget fermentum dictum, libero ante commodo enim, a adipiscing arcu arcu et erat. 
Ut ipsum neque, ornare nec condimentum a, feugiat et felis.

3) Nam vehicula velit mollis arcu vulputate tempus. Sed lobortis ante non ligula aliquet elementum.
Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Phasellus pharetra, 
orci id commodo malesuada, mauris dolor viverra felis, eget euismod libero turpis vel nisi.

2) Phasellus mauris ipsum, placerat nec pellentesque ac, tristique vitae risus. 
Mauris rhoncus erat at eros feugiat blandit. Nulla facilisi. Vivamus semper blandit viverra. 
Mauris quis arcu quis purus feugiat auctor.

6) Sed id eros quis metus pellentesque pellentesque eget quis erat. Curabitur quis sapien turpis, sed ullamcorper 
ipsum. In hac habitasse platea dictumst. Sed quis elit eu elit congue vestibulum. Duis tincidunt pellentesque 
convallis. Mauris accumsan suscipit placerat. Nullam mattis vulputate enim non volutpat.

1) Morbi ultricies arcu erat. Praesent iaculis fermentum odio, in suscipit lorem congue id. 
Sed euismod felis nec ipsum laoreet et suscipit justo vulputate. Donec lorem odio, lobortis ut 
scelerisque sed, interdum nec augue.

5) Aenean in lorem mi. Mauris ac eros mi. In accumsan urna eu nibh euismod non imperdiet quam fringilla. 
Integer orci massa, mattis adipiscing commodo vel, cursus in lorem.
End file
1) Morbi ultricies arcu erat. Praesent iaculis fermentum odio, in suscipit lorem congue id. 
Sed euismod felis nec ipsum laoreet et suscipit justo vulputate. Donec lorem odio, lobortis ut 
scelerisque sed, interdum nec augue.

2) Phasellus mauris ipsum, placerat nec pellentesque ac, tristique vitae risus. 
Mauris rhoncus erat at eros feugiat blandit. Nulla facilisi. Vivamus semper blandit viverra. 
Mauris quis arcu quis purus feugiat auctor.

3) Nam vehicula velit mollis arcu vulputate tempus. Sed lobortis ante non ligula aliquet elementum.
Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Phasellus pharetra, 
orci id commodo malesuada, mauris dolor viverra felis, eget euismod libero turpis vel nisi.

4) Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla feugiat placerat odio. 
Praesent tempus, enim eget fermentum dictum, libero ante commodo enim, a adipiscing arcu arcu et erat. 
Ut ipsum neque, ornare nec condimentum a, feugiat et felis.

5) Aenean in lorem mi. Mauris ac eros mi. In accumsan urna eu nibh euismod non imperdiet quam fringilla. 
Integer orci massa, mattis adipiscing commodo vel, cursus in lorem.

6) Sed id eros quis metus pellentesque pellentesque eget quis erat. Curabitur quis sapien turpis, sed ullamcorper 
ipsum. In hac habitasse platea dictumst. Sed quis elit eu elit congue vestibulum. Duis tincidunt pellentesque 
convallis. Mauris accumsan suscipit placerat. Nullam mattis vulputate enim non volutpat.

View Diff

1,7c1,3
< 4) Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla feugiat placerat odio. 
< Praesent tempus, enim eget fermentum dictum, libero ante commodo enim, a adipiscing arcu arcu et erat. 
< Ut ipsum neque, ornare nec condimentum a, feugiat et felis.
< 
< 3) Nam vehicula velit mollis arcu vulputate tempus. Sed lobortis ante non ligula aliquet elementum.
< Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Phasellus pharetra, 
< orci id commodo malesuada, mauris dolor viverra felis, eget euismod libero turpis vel nisi.
---
> 1) Morbi ultricies arcu erat. Praesent iaculis fermentum odio, in suscipit lorem congue id. 
> Sed euismod felis nec ipsum laoreet et suscipit justo vulputate. Donec lorem odio, lobortis ut 
> scelerisque sed, interdum nec augue.
13,15c9,11
< 6) Sed id eros quis metus pellentesque pellentesque eget quis erat. Curabitur quis sapien turpis, sed ullamcorper 
< ipsum. In hac habitasse platea dictumst. Sed quis elit eu elit congue vestibulum. Duis tincidunt pellentesque 
< convallis. Mauris accumsan suscipit placerat. Nullam mattis vulputate enim non volutpat.
---
> 3) Nam vehicula velit mollis arcu vulputate tempus. Sed lobortis ante non ligula aliquet elementum.
> Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Phasellus pharetra, 
> orci id commodo malesuada, mauris dolor viverra felis, eget euismod libero turpis vel nisi.
17,19c13,15
< 1) Morbi ultricies arcu erat. Praesent iaculis fermentum odio, in suscipit lorem congue id. 
< Sed euismod felis nec ipsum laoreet et suscipit justo vulputate. Donec lorem odio, lobortis ut 
< scelerisque sed, interdum nec augue.
---
> 4) Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla feugiat placerat odio. 
> Praesent tempus, enim eget fermentum dictum, libero ante commodo enim, a adipiscing arcu arcu et erat. 
> Ut ipsum neque, ornare nec condimentum a, feugiat et felis.
22a19,22
> 
> 6) Sed id eros quis metus pellentesque pellentesque eget quis erat. Curabitur quis sapien turpis, sed ullamcorper 
> ipsum. In hac habitasse platea dictumst. Sed quis elit eu elit congue vestibulum. Duis tincidunt pellentesque 
> convallis. Mauris accumsan suscipit placerat. Nullam mattis vulputate enim non volutpat.

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 139 remaining solutions by signing in and submitting your own entry
#140 Benjamin Small / @ph1g - Score: 170 - 12/29/10 @ 16:21
jjjjjjjjjjjjjjjjjkkkkkkkkkkkkkkkjjjjjjjjjjjjjjVjjjxkkkkkkkkkkkkkkkkkkPjjjjjjjjjjjVjjjxkkkkkkkkkpjjjjjjkjjjjjjjjjjkkVjjjxjpi<CR><Esc>`jjjjjjjjjjddkkkkkkkkkkkjVjjjxkkkkkpkj:wq<CR>

0 comments


Created by: @lee_jarvis

140 active golfers, 443 entries

Leaderboard (lowest score wins):
35
#91 - Kashyap Paidimarri / @kashyapp

12/29/2010 at 04:47PM

35
#92 - Alain Gilbert / @alain_gilbert

12/30/2010 at 08:08PM

35
#93 - Thomas Schönwälder / @Masei1988

01/22/2011 at 10:07PM

35
#94 - Will / @obiwan__k3n00bi

08/25/2016 at 06:41AM

36
#95 - Arto Vuori / @dhpe

08/30/2012 at 09:37PM

36
#96 - A. N. / @arez42

10/24/2013 at 04:25PM

36
#97 - William Ott / @oddalot

04/11/2015 at 05:55PM

37
#98 - Indrek Juhkam / @indrekj

12/29/2010 at 03:43PM

37
#99 - James / @Dronak

09/30/2014 at 11:49PM

38
#100 - ehamberg / @ehamberg

12/29/2010 at 03:49PM

38
#101 - Vincent Isambart / @vincentisambart

12/31/2010 at 01:05PM

38
#102 - Toto l'haricot / @nico_le_terribl

01/09/2011 at 12:11PM

38
#103 - Woojung Kim 김우중 / @_kimwz

07/17/2013 at 03:43AM

39
#104 - Francis Lukesh / @flukesh

12/29/2010 at 05:34PM

39
#105 - Ben Lenarts / @benlenarts

12/29/2010 at 06:17PM

39
#106 - Veg / @originalveghead

12/29/2010 at 09:38PM

40
#107 - Rajit Singh / @rajitbsingh

12/29/2010 at 03:18PM

40
#108 - sinclair bain / @sinclairbain

12/29/2010 at 06:32PM

41
#109 - Yannick LM / @yanicklm

12/30/2010 at 05:44PM

41
#110 - Andrey A. Ugolnik / @andreyugolnik

01/19/2011 at 10:22PM

42
#111 - jacobangel / @jacobangel

01/15/2011 at 06:12AM

42
#112 - Steven Wiggins / @StevenWiggins

09/25/2013 at 07:35PM

43
#113 - Pierre / @Pihour

01/01/2011 at 10:04AM

43
#114 - John Smith / @c2kdev21

04/03/2013 at 09:08AM

43
#115 - Gurukandhamoorthi / @Gurukandhamoor1

08/10/2017 at 05:22PM

44
#116 - Kris Jenkins / @krisajenkins

12/30/2010 at 12:44AM

44
#117 - Mikel Ward / @mikelward

12/30/2010 at 11:45AM

44
#118 - Raphaël De Giusti / @raphdg

10/28/2011 at 08:47AM

44
#119 - Jaime A. Sánchez / @jashbeta

12/22/2011 at 06:53AM

45
#120 - Aleksander Balicki / @alekbalicki

12/29/2010 at 02:34PM