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 559c30948ef59c0eb7000002

Collect List

Convert to comma separated list.

Start file
* item1
* item2
* item3
* item4
* item5
End file
item1,item2,item3,item4,item5

View Diff

1,5c1
< * item1
< * item2
< * item3
< * item4
< * item5
---
> item1,item2,item3,item4,item5

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 1015 remaining solutions by signing in and submitting your own entry
#1016 Radoslav Ivanov / @rivanov1 - Score: 89 - 09/15/15 @ 18:30
<C-V>ljjjjdqa$i,<BS><Esc><Esc><Esc>hhhhh$a,jj<BS><BS><Esc>dl<Esc><Esc>i<Esc><Esc>lla,jj<BS><BS><Esc><Esc>lj^i<BS>jj<BS><BS><Esc><Esc>qjh^i<BS>,jj<BS><BS><Esc><Esc>$j^i<BS>,<Esc><Esc>j^i<BS>,<Esc><Esc>:wq<CR>

0 comments


Created by: @compilejason

1016 active golfers, 3553 entries

Leaderboard (lowest score wins):
12
#331 - Charlie OConor / @charlieoconor

10/14/2017 at 04:07AM

12
#332 - Florian Kluck / @KluckF

11/01/2017 at 08:59AM

12
#333 - BouboulouVimGolf / @BouboulouVG

11/02/2017 at 07:21AM

12
#334 - えるざっぷ / @_elzup_

11/03/2017 at 09:29AM

12
#335 - Turkey Man / @lvturkeyman

11/08/2017 at 06:49AM

12
#336 - Benoit Mortgat / @Benoit_Mortgat

11/13/2017 at 09:15PM

12
#337 - Joe Schmoe / @yeroc1nil

11/25/2017 at 11:12PM

12
#338 - BareTull / @BareTull3

11/27/2017 at 02:40AM

12
#339 - Prithviraj Patil / @dummyprithviraj

12/03/2017 at 11:09AM

12
#340 - Henrique Malheiro / @rike09

12/10/2017 at 10:24AM

12
#341 - Joachim Wedin / @joachim_wedin

12/11/2017 at 07:40PM

12
#342 - BarbaJol / @drpproteus

12/31/2017 at 08:34AM

12
#343 - Dominic Z / @thammaaa

01/08/2018 at 08:31PM

12
#344 - Joe Kerian / @kerian

01/11/2018 at 12:57AM

12
#345 - ParasamGateZero / @ParasamGateZero

01/17/2018 at 12:55AM

12
#346 - martin tourneboeuf / @martintournebo1

02/01/2018 at 08:04PM

12
#347 - TpouHuK / @TpouHuK_

02/04/2018 at 04:27PM

12
#348 - bruno / @LokoPoggi

02/26/2018 at 12:18AM

12
#349 - LC / @leeren

03/01/2018 at 09:30AM

12
#350 - GreenPinguin / @GreenPinguin2

03/09/2018 at 12:44PM

12
#351 - Lisa Ugray / @lisa_ugray

03/14/2018 at 11:54AM

12
#352 - Guirec CORBEL / @GuirecCorbel

03/15/2018 at 11:08AM

12
#353 - pyaillet 🤘 / @pyaillet

03/16/2018 at 10:06PM

12
#354 - vimthrowaway / @vimgolf_throw

03/30/2018 at 07:35AM

12
#355 - matthew brett / @matthewbrett

04/08/2018 at 06:52AM

12
#356 - Pablo / @suspekt007

04/09/2018 at 02:17AM

12
#357 - DHM / @DHM29978992

04/12/2018 at 12:37AM

12
#358 - nomsayin / @nomsayin

04/16/2018 at 03:19AM

12
#359 - platypusDancing / @platypusDancing

04/27/2018 at 05:15AM

12
#360 - golfer / @golfer30767399

05/04/2018 at 11:46PM