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):
16
#151 - Nikita Mikhaylov / @nslqqq

04/25/2012 at 01:47PM

16
#152 - Gareth Snow / @GarethNSnow

05/05/2012 at 12:26AM

16
#153 - Ben Friedland / @bfriedland174

05/21/2012 at 05:58AM

16
#154 - Dave@Highgroove / @HighgrooveDave

05/23/2012 at 12:49PM

16
#155 - Tom Sisk / @TomSisk

07/15/2012 at 09:08PM

16
#156 - Glen / @Glen_S

07/23/2012 at 08:49PM

16
#157 - Chris Brown / @engineercyb

08/17/2012 at 12:35AM

16
#158 - Domon / @Domon

09/12/2012 at 09:18AM

16
#159 - Runar / @runarfu

01/12/2013 at 08:57AM

16
#160 - Asmund / @herrasbe

01/12/2013 at 05:41PM

16
#161 - Andrew Radev / @andrewradev

01/22/2013 at 08:45PM

16
#162 - Niels Madan / @nielsmadan

01/22/2013 at 08:56PM

16
#163 - Justin / @justinjaffray

04/29/2013 at 02:51AM

16
#164 - Ingo / @ist3fani

06/01/2013 at 06:28PM

16
#165 - Woojung Kim 김우중 / @_kimwz

07/17/2013 at 01:26AM

16
#166 - Przemysław Kamiński / @CXLII

08/14/2013 at 06:08AM

16
#167 - cj / @cj01101

08/27/2013 at 02:37AM

16
#168 - James / @Dronak

09/05/2013 at 02:18PM

16
#169 - brett / @brettyukich

09/24/2013 at 12:48AM

16
#170 - I / @ForgetIt17

11/19/2013 at 12:10PM

16
#171 - jimauthors / @jimauthors

02/03/2014 at 10:03PM

16
#172 - pikaren / @REALpikaren

03/07/2014 at 02:21PM

16
#173 - Felipe Jaramillo F / @mrfelipe

05/19/2014 at 03:28AM

16
#174 - Ram Tamtam / @ramtamtamtam

07/02/2014 at 12:02PM

16
#175 - William Ott / @oddalot

04/13/2015 at 02:14PM

16
#176 - Clark DuVall / @theclarkatron

05/19/2015 at 06:50AM

16
#177 - Will / @obiwan__k3n00bi

08/25/2016 at 06:56AM

16
#178 - Gurukandhamoorthi / @Gurukandhamoor1

08/12/2017 at 03:39PM

16
#179 - Chester Yap / @Chest_ErYap

08/11/2019 at 08:56AM

17
#180 - Ian McCowan / @valrus

05/29/2011 at 06:51PM