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):
28
#61 - Behnam Esfahbod / @zwnj

12/30/2010 at 12:23PM

28
#62 - Paul King / @nrocy

01/10/2011 at 02:27PM

28
#63 - Christopher Brew / @Seph1rothVII

01/31/2012 at 10:06PM

28
#64 - Tyler / @tylerbindon

03/31/2013 at 11:00PM

29
#65 - kuhout / @kuhout

12/29/2010 at 08:27PM

29
#66 - Mike Plotz / @antisuji

12/29/2010 at 10:52PM

29
#67 - Frank Perez / @frankperez87

12/21/2011 at 09:30PM

30
#68 - Francisco Dibar / @frandibar

01/13/2011 at 02:27AM

30
#69 - mightyfoo / @mightyfoo

05/26/2011 at 11:05AM

30
#70 - Matthew Cupps / @matthewcupps

12/21/2011 at 08:57PM

30
#71 - Saki Gw / @Sakigw

02/06/2017 at 08:04PM

31
#72 - Leonard Chin / @lchin

12/29/2010 at 05:47PM

31
#73 - h_east (トロッコ6個) / @h_east

01/06/2011 at 04:42PM

31
#74 - t_lini / @t_lini

01/09/2011 at 05:37PM

31
#75 - Xavier Nayrac / @lkdjiin

12/30/2011 at 10:37AM

32
#76 - Tom Adams / @holizz

12/29/2010 at 04:28PM

32
#77 - Utkarsh Kukreti / @utkarshkukreti

12/29/2010 at 05:32PM

32
#78 - Dave / @zzdave13

07/31/2011 at 09:42PM

32
#79 - Rik Lomas / @riklomas

12/29/2011 at 09:25PM

32
#80 - Marcin Sza / @coot_

11/29/2012 at 09:21AM

32
#81 - VitalyBerov / @VitalyBerov

12/23/2012 at 01:36AM

32
#82 - Ram Tamtam / @ramtamtamtam

07/02/2014 at 12:26PM

33
#83 - Fer Enaf / @0x00C0FFEE

01/02/2011 at 10:38AM

33
#84 - Wesley Wong / @wesleymwwong

01/30/2011 at 10:34AM

33
#85 - Sammasati / @sammasati0

07/16/2011 at 04:36PM

33
#86 - Alex Hammel / @AlexJHammel

12/24/2012 at 03:19PM

34
#87 - David Bengoa / @DvdBng

12/29/2010 at 02:07PM

34
#88 - Dave V. / @dave_v

12/29/2010 at 02:45PM

34
#89 - Pete Johns / @johnsyweb

01/02/2011 at 12:20PM

34
#90 - Oliver Christ / @0liverChrist

03/18/2015 at 09:51PM