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

Line Zipper

Zip/pair related lines.

Start file
China,1,2,3,4,5,6
Brazil,3,1,2,5,5,6
SAD,9,2,3,4,5,6
UK,3,8,3,9,5,1
France,7,2,3,4,5,6
Germany,1,7,3,2,5,6
Russia,1,6,2,9,5,6
Spain,1,2,2,4,5,6
Greece,1,3,3,4,5,6
India,4,2,3,4,5,6
Turkey,1,2,3,4,5,9
Poland,1,2,3,4,5,6
China,1,2,3,8,5,6
Brazil,1,2,3,4,5,6
SAD,1,2,3,4,5,6
UK,1,2,3,4,5,6
France,1,2,3,4,5,6
Germany,1,2,3,4,5,6
Russia,1,2,7,4,5,6
Spain,1,2,3,4,5,6
Greece,1,2,2,4,5,6
India,1,2,8,4,5,6
Turkey,1,2,1,7,5,6
Poland,2,2,3,9,5,6
End file
China,1,2,3,8,5,6
China,1,2,3,4,5,6
Brazil,1,2,3,4,5,6
Brazil,3,1,2,5,5,6
SAD,1,2,3,4,5,6
SAD,9,2,3,4,5,6
UK,1,2,3,4,5,6
UK,3,8,3,9,5,1
France,1,2,3,4,5,6
France,7,2,3,4,5,6
Germany,1,2,3,4,5,6
Germany,1,7,3,2,5,6
Russia,1,2,7,4,5,6
Russia,1,6,2,9,5,6
Spain,1,2,3,4,5,6
Spain,1,2,2,4,5,6
Greece,1,2,2,4,5,6
Greece,1,3,3,4,5,6
India,1,2,8,4,5,6
India,4,2,3,4,5,6
Turkey,1,2,1,7,5,6
Turkey,1,2,3,4,5,9
Poland,2,2,3,9,5,6
Poland,1,2,3,4,5,6

View Diff

1,12d0
< China,1,2,3,4,5,6
< Brazil,3,1,2,5,5,6
< SAD,9,2,3,4,5,6
< UK,3,8,3,9,5,1
< France,7,2,3,4,5,6
< Germany,1,7,3,2,5,6
< Russia,1,6,2,9,5,6
< Spain,1,2,2,4,5,6
< Greece,1,3,3,4,5,6
< India,4,2,3,4,5,6
< Turkey,1,2,3,4,5,9
< Poland,1,2,3,4,5,6
13a2
> China,1,2,3,4,5,6
14a4
> Brazil,3,1,2,5,5,6
15a6
> SAD,9,2,3,4,5,6
16a8
> UK,3,8,3,9,5,1
17a10
> France,7,2,3,4,5,6
18a12
> Germany,1,7,3,2,5,6
19a14
> Russia,1,6,2,9,5,6
20a16
> Spain,1,2,2,4,5,6
21a18
> Greece,1,3,3,4,5,6
22a20
> India,4,2,3,4,5,6
23a22
> Turkey,1,2,3,4,5,9
24a24
> Poland,1,2,3,4,5,6

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 195 remaining solutions by signing in and submitting your own entry
#196 peter.xiao / @yoco315 - Score: 142 - 11/28/11 @ 04:09
:sort<CR>VjxjpkkddpjddpuujjjjjjjjjjjjjjjjkkVjxkkkkkkkkkkkkkp23GVjxkkkkkkkkkkkkkkkkpjjjjjjjjjjjjVjxkkkkkkkpjjjjjjjjVjxkkkkkkkkjpddpjjjjjVjxjpddpZZ

0 comments


Created by: @kawkafi

196 active golfers, 402 entries

Leaderboard (lowest score wins):
13
#31 - caio / @caioariede

02/08/2012 at 09:49PM

13
#32 - Sebastian Kusnier / @skusnier

04/11/2012 at 07:31PM

13
#33 - Markus / @markus1189

04/19/2012 at 02:49PM

13
#34 - Rod Knowlton / @codelahoma

04/26/2012 at 01:39AM

13
#35 - Yusuke Tsutsumi / @tsutsumiyusuke

05/02/2012 at 11:46PM

13
#36 - CyLiu / @CyLiu

05/15/2012 at 02:23PM

13
#37 - Tim Chase / @gumnos

06/03/2012 at 12:35AM

13
#38 - Benoit Mortgat / @Benoit_Mortgat

06/07/2012 at 09:38AM

13
#39 - Kerson Hsiao / @KersonHsiao

07/02/2012 at 01:35PM

13
#40 - Daniel S / @smatter0ne

07/17/2012 at 10:20PM

13
#41 - (Emile (Swarts)) / @EmileSwarts

08/26/2012 at 10:44PM

13
#42 - while0pass / @while0pass

08/31/2012 at 02:02AM

13
#43 - Joseph J. Piché / @jjpiche

09/05/2012 at 12:54AM

13
#44 - Gregor Schmidt / @schmidtwisser

10/01/2012 at 03:05PM

13
#45 - Vim rocks / @vimrocks

10/09/2012 at 02:43PM

13
#46 - Daniel Hahler / @blueyed

01/22/2013 at 08:51PM

13
#47 - Gabriele Lana / @gabrielelana

01/22/2013 at 09:01PM

13
#48 - Marcin Sza / @coot_

10/12/2013 at 02:57PM

13
#49 - Thomas GUILLORY / @thomasguillory

03/03/2014 at 12:45PM

13
#50 - Marchand Paul-Valère / @pvmarch

03/03/2014 at 12:48PM

13
#51 - Joonas Pihlajamaa / @jokkebk

03/17/2014 at 11:57AM

13
#52 - Jon Krause / @jkrause314

01/10/2016 at 09:06PM

13
#53 - Daniel / @Daniel00288663

04/05/2017 at 08:44AM

13
#54 - Mihai / @mihaicristiant

03/24/2019 at 12:00PM

13
#55 - Lory / @Lory46845742

12/20/2019 at 02:45PM

14
#56 - Jean-Rene David / @jeanrenedavid

06/01/2011 at 03:42AM

14
#57 - Yannis Chatzimichos / @feedward

06/01/2011 at 05:07AM

14
#58 - Peter Anselmo / @peter_anselmo

06/23/2011 at 05:14PM

14
#59 - Hugh Carroll / @psaikido

07/01/2011 at 04:07PM

14
#60 - Hu Junfeng / @junfeng

08/05/2011 at 08:04AM