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 53ab5ade4367c700025ce66a

Shuffle puzzle

Sort the lines in each indent group, and sort the groups. That's the pattern. Or just move lines around manually to get a better score.

Start file
3
	4
	2
1
	3
	1
2
	5
	8
End file
1
	1
	3
2
	5
	8
3
	2
	4

View Diff

1,3d0
< 3
< 	4
< 	2
5d1
< 	3
6a3
> 	3
9a7,9
> 3
> 	2
> 	4

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 93 remaining solutions by signing in and submitting your own entry
#94 Jurica / @Jurica34581259 - Score: 28 - 12/12/18 @ 11:50
3jVjjd1GP6jVGd2kPkddkPGddPZZ

0 comments


Created by: @udioica

94 active golfers, 289 entries

Leaderboard (lowest score wins):
25
#91 - Daniel / @dcmonger

07/18/2014 at 05:31AM

26
#92 - RobertT / @techrt2050

06/26/2014 at 04:29AM

27
#93 - Patrick Pitoscia / @Patrick03960431

08/03/2014 at 07:28PM

28
#94 - Jurica / @Jurica34581259

12/12/2018 at 11:50AM