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):
24
#31 - Pei-Lun Lee / @ypcatw

01/30/2012 at 02:52AM

24
#32 - Zeh Rizzatti / @zehrizzatti

02/09/2012 at 01:43AM

24
#33 - Vim rocks / @vimrocks

10/08/2012 at 07:26PM

24
#34 - xavier kt / @xav_kt

02/05/2013 at 01:05AM

24
#35 - Framecurrent / @framecurrent

12/26/2015 at 01:31PM

24
#36 - DHM / @DHM29978992

05/20/2018 at 12:08AM

24
#37 - Mihai / @mihaicristiant

03/22/2019 at 10:25AM

25
#38 - Josh Triplett / @josh_triplett

12/29/2010 at 02:02PM

25
#39 - Henrik Nyh / @henrik

12/29/2010 at 04:42PM

25
#40 - Sam Meacham / @evolr

12/29/2010 at 07:52PM

25
#41 - Josh Weinberg / @jcweinberg

12/30/2010 at 12:46AM

25
#42 - Stephan Weller / @stephan_weller

01/02/2011 at 03:45PM

25
#43 - Albin Olsson / @sentenser

01/16/2012 at 01:12AM

25
#44 - US Dollar Price / @USDollarPrice

11/04/2013 at 11:57PM

25
#45 - Marchand Paul-Valère / @pvmarch

04/11/2014 at 12:06PM

25
#46 - Thomas GUILLORY / @thomasguillory

04/11/2014 at 12:10PM

26
#47 - Austin Taylor / @austintaylor

12/29/2010 at 07:41PM

26
#48 - Aaron Bull Schaefer / @elasticdog

12/29/2010 at 08:00PM

26
#49 - uuu / @uu59

12/29/2010 at 10:43PM

26
#50 - Steve Morrow / @yawmark

12/31/2010 at 06:50AM

26
#51 - Jim Infield / @jinfield

07/20/2011 at 10:08PM

26
#52 - William Dunand / @wdunand

12/02/2011 at 07:59AM

26
#53 - 無ん垢の叫び / @john_ababa

02/23/2012 at 10:02AM

27
#54 - Larry Marburger / @lmarburger

12/29/2010 at 05:26PM

27
#55 -  Ikhsan Maulana / @ixandidu

01/02/2011 at 10:47AM

27
#56 - vg / @vimgolfer

01/29/2011 at 02:49AM

27
#57 - Yann Moisan / @YannMoisan

02/03/2013 at 08:31PM

27
#58 - cj / @cj01101

01/30/2014 at 09:50PM

27
#59 - Joonas Pihlajamaa / @jokkebk

02/21/2014 at 09:19AM

27
#60 - Paul Draghicescu / @pdragy

03/28/2018 at 11:04PM