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

1194 active golfers, 4317 entries

Leaderboard (lowest score wins):
13
#601 - Mateen Ulhaq / @sicariusnoctis

02/12/2019 at 03:39AM

13
#602 - 默罕默德 / @Rt6RjEAJ987Woes

02/16/2019 at 08:57AM

13
#603 - João Silva / @joaosilva155

03/08/2019 at 01:59PM

13
#604 - enji / @enji_ja

03/19/2019 at 03:05PM

13
#605 - Vimfiz / @vimfiz

03/29/2019 at 04:53PM

13
#606 - Scott / @chil2

04/01/2019 at 09:03PM

13
#607 - Tyler k the science guy / @tyler_karpe

04/02/2019 at 07:34AM

13
#608 - たぬぽん / @eJYwMbymauWKF4B

06/11/2019 at 09:39AM

13
#609 - Chester Yap / @Chest_ErYap

07/10/2019 at 01:10AM

13
#610 - ささ / @nick11033

08/10/2019 at 09:32AM

13
#611 - averageRandomPerson / @averageRandomP1

08/11/2019 at 08:46PM

13
#612 - Lory / @Lory46845742

11/02/2019 at 12:55PM

13
#613 - mogitate / @mutemeat

11/20/2019 at 02:06PM

13
#614 - ErQ325 / @EQ325

12/15/2019 at 08:40AM

13
#615 - Dan Kilman / @dan_kilman

12/20/2019 at 11:39PM

13
#616 - Wenbo / @nuxping1

12/29/2019 at 03:59PM

13
#617 - Ali Kero / @stochastist

02/14/2020 at 09:44PM

13
#618 - KingYames / @JamesZeHunter

02/25/2020 at 01:18PM

13
#619 - Matt Drover / @mdrover25

03/02/2020 at 01:26PM

13
#620 - floyd / @floyd10086

03/11/2020 at 02:10AM

13
#621 - RaylanFox / @RaylanFox

04/14/2020 at 03:09PM

13
#622 - otfsenter / @otfsenter

06/06/2020 at 10:39AM

13
#623 - Romain / @djizeuscoco

06/20/2020 at 05:21PM

13
#624 - speisz / @speiszc

09/07/2020 at 08:45PM

13
#625 - moh ayaya / @AyayaMoh

11/11/2020 at 08:49PM

13
#626 - roudens / @roudens2

12/19/2020 at 10:33AM

13
#627 - 0xf00ff00f / @0xf00ff00f

12/15/2022 at 12:41PM

13
#628 - zsha0 / @zsha0

06/24/2025 at 05:07AM

14
#629 - Bruce Woodward / @Bruce_Woodward

07/17/2015 at 06:05AM

14
#630 - Tom van der Lee / @TomVdLee

07/23/2015 at 11:52AM