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

0 comments


Created by: @kawkafi

216 active golfers, 477 entries

Leaderboard (lowest score wins):
16
#121 - Ilya Strukov / @i1ey

07/06/2011 at 02:40PM

16
#122 - Dan Masquelier / @danmasq

07/06/2011 at 05:23PM

16
#123 - Zak van der Merwe / @zakkuuu

07/08/2011 at 07:04PM

16
#124 - Dave / @zzdave13

07/14/2011 at 10:19PM

16
#125 - Neal Lindsay / @neall

07/14/2011 at 10:24PM

16
#126 - Atan59 / @atan59vg

07/15/2011 at 01:41PM

16
#127 - Sammasati / @sammasati0

07/16/2011 at 02:51AM

16
#128 - William Hua / @attente

07/17/2011 at 01:22PM

16
#129 - Glenn / @glennular

07/27/2011 at 12:52AM

16
#130 - Pierre / @Pihour

07/27/2011 at 07:27PM

16
#131 - Andrey Andreev / @andro_a

07/29/2011 at 01:22PM

16
#132 - Stephen Gordon / @DubsGordon

08/01/2011 at 10:53PM

16
#133 - keikun / @funkaloo

08/13/2011 at 11:22PM

16
#134 - Neil / @spameldoon

08/21/2011 at 12:03PM

16
#135 - jacobcr / @jacobcr

08/23/2011 at 04:18PM

16
#136 - Sergi Sorribas / @lerovitch

08/29/2011 at 06:39AM

16
#137 - Mohammed / @mbadran

09/01/2011 at 01:08PM

16
#138 - David Jacobs / @dave_jacobs

09/02/2011 at 05:52AM

16
#139 - Dario Cazzaro / @darioqa

09/17/2011 at 07:03PM

16
#140 - Jason Davidson / @aka_lingy

09/21/2011 at 03:51AM

16
#141 - vimja / @vimja666

10/10/2011 at 10:11PM

16
#142 - Matt Donahoe / @mdonahoe

10/13/2011 at 05:53AM

16
#143 - Raphaël De Giusti / @raphdg

10/26/2011 at 02:43PM

16
#144 - Jer Wilson / @superjercom

10/29/2011 at 01:29AM

16
#145 - William Dunand / @wdunand

11/07/2011 at 07:59AM

16
#146 - Matt Woelk / @MattWoelk

11/11/2011 at 09:35PM

16
#147 - D A / @7187dd578b325d2

11/24/2011 at 01:30PM

16
#148 - Chaiporn Jaikaeo / @cjaikaeo

11/27/2011 at 05:45PM

16
#149 - Ivo Dancet / @caifara

12/03/2011 at 11:05AM

16
#150 - Andrei Litvin / @andy31416

12/08/2011 at 02:42PM