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

1014 active golfers, 3550 entries

Leaderboard (lowest score wins):
13
#511 - 默罕默德 / @Rt6RjEAJ987Woes

02/16/2019 at 08:57AM

13
#512 - João Silva / @joaosilva155

03/08/2019 at 01:59PM

13
#513 - enji / @enji_ja

03/19/2019 at 03:05PM

13
#514 - Vimfiz / @vimfiz

03/29/2019 at 04:53PM

13
#515 - Scott / @chil2

04/01/2019 at 09:03PM

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

04/02/2019 at 07:34AM

13
#517 - たぬぽん / @eJYwMbymauWKF4B

06/11/2019 at 09:39AM

13
#518 - as-night / @asnight2

07/05/2019 at 04:08PM

13
#519 - Chester Yap / @Chest_ErYap

07/10/2019 at 01:10AM

13
#520 - ささ / @nick11033

08/10/2019 at 09:32AM

13
#521 - averageRandomPerson / @averageRandomP1

08/11/2019 at 08:46PM

14
#522 - Bruce Woodward / @Bruce_Woodward

07/17/2015 at 06:05AM

14
#523 - Tom van der Lee / @TomVdLee

07/23/2015 at 11:52AM

14
#524 - Wojtek Ryrych / @wryrych

07/28/2015 at 07:46PM

14
#525 - CoCo Loco / @lc2817

07/30/2015 at 06:12AM

14
#526 - Mac Goever / @MacGoever

08/03/2015 at 08:17PM

14
#527 - Georgi Georgiev / @GeorgievGeorgeS

08/11/2015 at 11:45AM

14
#528 - Ilya / @izubk0v

08/18/2015 at 09:50AM

14
#529 - Victor Kasatkin / @vikasatkin

09/21/2015 at 04:47AM

14
#530 - Karl August / @ClockworkCoder

09/23/2015 at 12:31PM

14
#531 - Charlie Bevis / @bevis_charlie

10/02/2015 at 08:24PM

14
#532 - Umur Gedik / @umurgdk

10/06/2015 at 01:54PM

14
#533 - Charles Martin / @instinctive

10/07/2015 at 07:32AM

14
#534 - stepvhen / @stepvhen_web

10/17/2015 at 02:22PM

14
#535 - Matthew Desjardins / @Desjardins_M

10/25/2015 at 03:45AM

14
#536 - Pablo Castaneda / @pabloca23116377

11/06/2015 at 03:52PM

14
#537 - Sean Stout / @s183s657

12/09/2015 at 08:19AM

14
#538 - Sheapel User / @sheapeluser

02/01/2016 at 09:32PM

14
#539 - udreki / @udreki

02/07/2016 at 06:55PM

14
#540 - Dylan / @helloasdff

03/03/2016 at 09:25PM