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):
14
#61 - Stanley Wang / @stanleynwang

08/05/2011 at 10:11PM

14
#62 - Dragan Cvetinovic / @kawkafi

08/29/2011 at 04:39PM

14
#63 - Tim Tsu / @vimgolfpunk

09/01/2011 at 03:02PM

14
#64 - Liauw Fendy / @Lfendy

10/18/2011 at 04:52AM

14
#65 - 0x5042 / @0x5042

12/10/2011 at 10:39AM

14
#66 - Martin Aumueller / @aumuell

12/13/2011 at 10:25PM

14
#67 - Calvin Condon / @ccondon

01/31/2012 at 05:00AM

14
#68 - learninghang / @learninghang

04/16/2012 at 01:43AM

14
#69 - Douglas Mozeika / @moomoomozo

05/02/2012 at 11:40PM

14
#70 - John Smith / @c2kdev21

04/03/2013 at 01:17PM

14
#71 - jeepee / @jeepee_test

06/11/2013 at 11:49AM

14
#72 - Matt Robbins / @mcrmfc

11/14/2014 at 11:50PM

14
#73 - Melvin Cheung / @MelvinCheung

05/24/2017 at 03:19PM

14
#74 - Bennett Bernardoni / @BBernardoni

06/30/2017 at 09:52PM

14
#75 - Turkey Man / @lvturkeyman

11/28/2017 at 05:23PM

14
#76 - DHM / @DHM29978992

05/20/2018 at 03:31AM

14
#77 - sidyll / @sidyll

08/16/2018 at 04:51PM

15
#78 - Carlos Yaconi H. / @cyaconi

12/12/2011 at 10:03PM

15
#79 - Tesnorth / @Tesnorth

01/31/2012 at 01:26PM

15
#80 - majo senf / @majo_senf

07/06/2019 at 08:57PM

16
#81 - xhtmlforum / @xhtmlforum

05/24/2011 at 05:33PM

16
#82 - Steve Morrow / @yawmark

05/24/2011 at 06:40PM

16
#83 - Pete Johns / @johnsyweb

05/24/2011 at 08:50PM

16
#84 - Justin Hale / @jxl

05/25/2011 at 06:03AM

16
#85 - h_east (トロッコ6個) / @h_east

05/25/2011 at 12:57PM

16
#86 - Conner McDaniel / @connermcd

05/26/2011 at 03:09AM

16
#87 - Pavlo Klets / @p01nt

05/26/2011 at 07:03AM

16
#88 - Flaviu Simihaian / @closedBracket

05/27/2011 at 05:21PM

16
#89 - Steven Grady / @steven807

05/27/2011 at 11:05PM

16
#90 - Jean-Christophe Cyr / @jccyr01

05/29/2011 at 01:49AM