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

1105 active golfers, 3912 entries

Leaderboard (lowest score wins):
13
#541 - steph-query / @StephQuery

07/17/2018 at 05:03PM

13
#542 - niwatoco / @yoshitune9

07/19/2018 at 01:45AM

13
#543 - yqu212 / @yqu212

07/27/2018 at 08:32AM

13
#544 - Rajesh Sharma / @deepredsky

07/30/2018 at 07:02PM

13
#545 - Coruja Queridinha / @miriamretka

08/24/2018 at 04:50PM

13
#546 - Jeff / @sir_wiggles3

09/08/2018 at 01:54AM

13
#547 - Vasil Mikhalenya / @bazillek

09/21/2018 at 04:07PM

13
#548 - 황규승 / @l5pBHyytJBu9SIC

11/17/2018 at 06:04AM

13
#549 - Anton Permenev / @a_permenev

11/19/2018 at 01:47PM

13
#550 - Andreas Nordahl / @andreasnordahl

11/26/2018 at 08:38AM

13
#551 - unclewangshushu / @shuwushu

11/29/2018 at 04:21PM

13
#552 - Ruby Sapphire / @RubySapphire20

12/15/2018 at 03:32AM

13
#553 - Mateen Ulhaq / @sicariusnoctis

02/12/2019 at 03:39AM

13
#554 - 默罕默德 / @Rt6RjEAJ987Woes

02/16/2019 at 08:57AM

13
#555 - João Silva / @joaosilva155

03/08/2019 at 01:59PM

13
#556 - enji / @enji_ja

03/19/2019 at 03:05PM

13
#557 - Vimfiz / @vimfiz

03/29/2019 at 04:53PM

13
#558 - Scott / @chil2

04/01/2019 at 09:03PM

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

04/02/2019 at 07:34AM

13
#560 - たぬぽん / @eJYwMbymauWKF4B

06/11/2019 at 09:39AM

13
#561 - as-night / @asnight2

07/05/2019 at 04:08PM

13
#562 - Chester Yap / @Chest_ErYap

07/10/2019 at 01:10AM

13
#563 - ささ / @nick11033

08/10/2019 at 09:32AM

13
#564 - averageRandomPerson / @averageRandomP1

08/11/2019 at 08:46PM

13
#565 - Lory / @Lory46845742

11/02/2019 at 12:55PM

13
#566 - mogitate / @mutemeat

11/20/2019 at 02:06PM

13
#567 - ErQ325 / @EQ325

12/15/2019 at 08:40AM

13
#568 - Dan Kilman / @dan_kilman

12/20/2019 at 11:39PM

13
#569 - Wenbo / @nuxping1

12/29/2019 at 03:59PM

13
#570 - Ali Kero / @stochastist

02/14/2020 at 09:44PM