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
#61 - Michel Viktor / @tomkpz

07/29/2021 at 03:14PM

13
#62 - ._. / @Katharsic

04/24/2022 at 03:56PM

14
#63 - Jean-Rene David / @jeanrenedavid

06/01/2011 at 03:42AM

14
#64 - Yannis Chatzimichos / @feedward

06/01/2011 at 05:07AM

14
#65 - Peter Anselmo / @peter_anselmo

06/23/2011 at 05:14PM

14
#66 - Hugh Carroll / @psaikido

07/01/2011 at 04:07PM

14
#67 - Hu Junfeng / @junfeng

08/05/2011 at 08:04AM

14
#68 - Stanley Wang / @stanleynwang

08/05/2011 at 10:11PM

14
#69 - Dragan Cvetinovic / @kawkafi

08/29/2011 at 04:39PM

14
#70 - Tim Tsu / @vimgolfpunk

09/01/2011 at 03:02PM

14
#71 - Liauw Fendy / @Lfendy

10/18/2011 at 04:52AM

14
#72 - 0x5042 / @0x5042

12/10/2011 at 10:39AM

14
#73 - Martin Aumueller / @aumuell

12/13/2011 at 10:25PM

14
#74 - Calvin Condon / @ccondon

01/31/2012 at 05:00AM

14
#75 - learninghang / @learninghang

04/16/2012 at 01:43AM

14
#76 - Douglas Mozeika / @moomoomozo

05/02/2012 at 11:40PM

14
#77 - John Smith / @c2kdev21

04/03/2013 at 01:17PM

14
#78 - jeepee / @jeepee_test

06/11/2013 at 11:49AM

14
#79 - Matt Robbins / @mcrmfc

11/14/2014 at 11:50PM

14
#80 - Melvin Cheung / @MelvinCheung

05/24/2017 at 03:19PM

14
#81 - Bennett Bernardoni / @BBernardoni

06/30/2017 at 09:52PM

14
#82 - Turkey Man / @lvturkeyman

11/28/2017 at 05:23PM

14
#83 - DHM / @DHM29978992

05/20/2018 at 03:31AM

14
#84 - sidyll / @sidyll

08/16/2018 at 04:51PM

14
#85 - shahanavaz m / @shahanavazm

02/21/2022 at 10:56PM

15
#86 - Carlos Yaconi H. / @cyaconi

12/12/2011 at 10:03PM

15
#87 - Tesnorth / @Tesnorth

01/31/2012 at 01:26PM

15
#88 - majo senf / @majo_senf

07/06/2019 at 08:57PM

15
#89 - quemeraisc / @quemeraisc

05/20/2022 at 12:37PM

16
#90 - xhtmlforum / @xhtmlforum

05/24/2011 at 05:33PM