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):
30
#211 - Moon boots / @moonboots08

08/23/2011 at 01:01AM

34
#212 - Burkhard Zimmermann / @BurkZimm

12/26/2011 at 08:03PM

36
#213 - James Cash / @jamesnvc

05/24/2011 at 07:13PM

37
#214 - Ryan / @Rdgy567889

10/01/2023 at 09:51AM

86
#215 - 7se / @7se______

02/13/2019 at 01:41PM

142
#216 - peter.xiao / @yoco315

11/28/2011 at 04:09AM