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

0 comments


Created by: @kawkafi

206 active golfers, 443 entries

Leaderboard (lowest score wins):
13
#31 - A / @tndrnt

12/11/2011 at 07:51PM

13
#32 - no / @jt_vg

12/14/2011 at 08:41PM

13
#33 - Jaime A. Sánchez / @jashbeta

02/05/2012 at 07:44PM

13
#34 - Jonathan C. Dietrich / @jcdietrich

02/08/2012 at 03:58AM

13
#35 - Renat Aksitov / @Korvin79

02/08/2012 at 10:07AM

13
#36 - caio / @caioariede

02/08/2012 at 09:49PM

13
#37 - Sebastian Kusnier / @skusnier

04/11/2012 at 07:31PM

13
#38 - Markus / @markus1189

04/19/2012 at 02:49PM

13
#39 - Rod Knowlton / @codelahoma

04/26/2012 at 01:39AM

13
#40 - Yusuke Tsutsumi / @tsutsumiyusuke

05/02/2012 at 11:46PM

13
#41 - CyLiu / @CyLiu

05/15/2012 at 02:23PM

13
#42 - Tim Chase / @gumnos

06/03/2012 at 12:35AM

13
#43 - Benoit Mortgat / @Benoit_Mortgat

06/07/2012 at 09:38AM

13
#44 - Kerson Hsiao / @KersonHsiao

07/02/2012 at 01:35PM

13
#45 - Daniel S / @smatter0ne

07/17/2012 at 10:20PM

13
#46 - Emile Swarts / @EmileSwarts

08/26/2012 at 10:44PM

13
#47 - while0pass / @while0pass

08/31/2012 at 02:02AM

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

09/05/2012 at 12:54AM

13
#49 - Gregor Schmidt / @schmidtwisser

10/01/2012 at 03:05PM

13
#50 - Vim rocks / @vimrocks

10/09/2012 at 02:43PM

13
#51 - Daniel Hahler / @blueyed

01/22/2013 at 08:51PM

13
#52 - Gabriele Lana / @gabrielelana

01/22/2013 at 09:01PM

13
#53 - Marcin Szamotulski / @me_coot

10/12/2013 at 02:57PM

13
#54 - Thomas GUILLORY / @thomasguillory

03/03/2014 at 12:45PM

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

03/03/2014 at 12:48PM

13
#56 - Joonas Pihlajamaa / @jokkebk

03/17/2014 at 11:57AM

13
#57 - Jon Krause / @jkrause314

01/10/2016 at 09:06PM

13
#58 - Daniel / @Daniel00288663

04/05/2017 at 08:44AM

13
#59 - Mihai / @mihaicristiant

03/24/2019 at 12:00PM

13
#60 - Lory / @Lory46845742

12/20/2019 at 02:45PM