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

1124 active golfers, 4008 entries

Leaderboard (lowest score wins):
12
#481 - Bob Streams / @BobStreams1

06/01/2020 at 07:54PM

12
#482 - Kevin Keefe / @KevinKeefe5

06/04/2020 at 06:08AM

12
#483 - Valdimar / @genkobar

06/07/2020 at 08:40PM

12
#484 - smlbrngr / @smlbrngr

06/15/2020 at 07:10PM

12
#485 - Ming Dai / @MingDai2

06/30/2020 at 03:57PM

12
#486 - 大矢元海 / @008Genkai

07/03/2020 at 09:20PM

12
#487 - JL T / @l0f4r0

07/21/2020 at 09:00PM

12
#488 - Du Phan / @fehiepsi

08/04/2020 at 04:16AM

12
#489 - Vinay Sharma / @VinaySh63956554

08/11/2020 at 07:33AM

12
#490 - Tanzeel Kazi / @tanzeelkazi

08/23/2020 at 04:46AM

12
#491 - Kaustubh Murumkar / @k_austub_h

08/31/2020 at 07:57PM

12
#492 - mindgitrwx / @mindgitrwx

09/09/2020 at 01:54PM

12
#493 - as-night / @asnight2

09/23/2020 at 03:51PM

12
#494 - grubeb / @grubeb4

09/25/2020 at 07:10PM

13
#495 - Louis Burke / @LambdaABeta

07/08/2015 at 05:55PM

13
#496 - Alexey Kotov / @atercat

07/23/2015 at 07:37AM

13
#497 - Mike McGowan / @mikemcgowan75

07/31/2015 at 02:50PM

13
#498 - Daniel Beck / @daniel_beck_il

08/01/2015 at 02:36PM

13
#499 - James Andy / @AndrewJamesIT

08/13/2015 at 11:52AM

13
#500 - David Perfors / @dnperfors

08/20/2015 at 07:00PM

13
#501 - KK (TheKK) / @kk_the_gamer

08/26/2015 at 11:56AM

13
#502 - Jinzhou Zhang / @jinzhouz

09/02/2015 at 07:15AM

13
#503 - Gerhard Gappmeier / @gergap

09/11/2015 at 08:14PM

13
#504 - Jon Nyman / @NymanJon

09/12/2015 at 09:57AM

13
#505 - Ronnie McCall / @RonnieMcC

09/21/2015 at 08:38PM

13
#506 - Daxin / @Daxin2010

09/26/2015 at 03:57AM

13
#507 - Joel N. / @cboar_

09/28/2015 at 12:24AM

13
#508 - Andrew Loucky / @merely_oolong

10/03/2015 at 05:09PM

13
#509 - [object Object] / @marinintim

10/16/2015 at 09:53AM

13
#510 - Roger / @enjoyheyo

10/20/2015 at 02:59AM