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 990 remaining solutions by signing in and submitting your own entry
#991 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

991 active golfers, 3467 entries

Leaderboard (lowest score wins):
13
#451 - David Mauskop / @mauskop

11/12/2015 at 08:36PM

13
#452 - Gordon / @gordonczedik

12/07/2015 at 11:38AM

13
#453 - Elrrrrrrr / @Elrrrrrrr

12/24/2015 at 08:55AM

13
#454 - Bingyunx / @bingyunx

12/25/2015 at 12:02PM

13
#455 - Michael / @Michael57309129

12/30/2015 at 09:19PM

13
#456 - Sinclair Desaud / @sdesaud

01/06/2016 at 05:36PM

13
#457 - Dimitar Dimitrov / @kurkale6ka

03/08/2016 at 03:39PM

13
#458 - Piotr Madaliński / @MadalinskiPiotr

03/08/2016 at 04:44PM

13
#459 - Travis Dean / @Travis_J_Dean

03/29/2016 at 12:05PM

13
#460 - Robber Toe / @robbertoe

04/01/2016 at 01:44AM

13
#461 - Yudi Matsuzake / @yudimatsuzake

05/13/2016 at 04:07PM

13
#462 - aestetix / @aestetix

05/17/2016 at 02:25AM

13
#463 - Michal Sylwester / @msylw

05/20/2016 at 04:34AM

13
#464 - Reuben Huxley / @missiontocode

06/29/2016 at 07:24AM

13
#465 - Павел Игоревич / @VizierST

06/30/2016 at 08:00PM

13
#466 - Antoni Villalonga / @friki

08/15/2016 at 06:08PM

13
#467 - timerella® / @timerella

11/16/2016 at 10:53PM

13
#468 - Alexander Bessonov / @nonsleepr

03/13/2017 at 08:02PM

13
#469 - Михаил Борисов / @npoKA3Hbuk

03/13/2017 at 09:13PM

13
#470 - Hocan Eittbe / @fifthwallfly

05/10/2017 at 04:00AM

13
#471 - jakeroberts / @jakeroberts

05/20/2017 at 02:49PM

13
#472 - Jeff Kelly / @cheibriados

06/03/2017 at 06:30AM

13
#473 - Carl Egbert / @CarlOEgbert

06/09/2017 at 07:42PM

13
#474 - Joel Meyer-Hamme / @JoelMeyerHamme

06/20/2017 at 10:09PM

13
#475 - toddkoym / @toddkoym

08/09/2017 at 01:04AM

13
#476 - Sean Wayman / @SeanInFrance

09/19/2017 at 08:49PM

13
#477 - jirgn / @jirgn

09/23/2017 at 08:37PM

13
#478 - しぇぱっち / @shepabashi

10/20/2017 at 02:38AM

13
#479 - Bradley M. Small / @BradleySmall

11/22/2017 at 02:46PM

13
#480 - maks kamnikar / @maks_kamnikar

01/08/2018 at 02:47PM