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):
13
#571 - ささ / @nick11033

08/10/2019 at 09:32AM

13
#572 - averageRandomPerson / @averageRandomP1

08/11/2019 at 08:46PM

13
#573 - Lory / @Lory46845742

11/02/2019 at 12:55PM

13
#574 - mogitate / @mutemeat

11/20/2019 at 02:06PM

13
#575 - ErQ325 / @EQ325

12/15/2019 at 08:40AM

13
#576 - Dan Kilman / @dan_kilman

12/20/2019 at 11:39PM

13
#577 - Wenbo / @nuxping1

12/29/2019 at 03:59PM

13
#578 - Ali Kero / @stochastist

02/14/2020 at 09:44PM

13
#579 - KingYames / @JamesZeHunter

02/25/2020 at 01:18PM

13
#580 - Matt Drover / @mdrover25

03/02/2020 at 01:26PM

13
#581 - floyd / @floyd10086

03/11/2020 at 02:10AM

13
#582 - RaylanFox / @RaylanFox

04/14/2020 at 03:09PM

13
#583 - otfsenter / @otfsenter

06/06/2020 at 10:39AM

13
#584 - Romain / @djizeuscoco

06/20/2020 at 05:21PM

13
#585 - speisz / @speiszc

09/07/2020 at 08:45PM

14
#586 - Bruce Woodward / @Bruce_Woodward

07/17/2015 at 06:05AM

14
#587 - Tom van der Lee / @TomVdLee

07/23/2015 at 11:52AM

14
#588 - Wojtek Ryrych / @wryrych

07/28/2015 at 07:46PM

14
#589 - CoCo Loco / @lc2817

07/30/2015 at 06:12AM

14
#590 - Mac Goever / @MacGoever

08/03/2015 at 08:17PM

14
#591 - Georgi Georgiev / @GeorgievGeorgeS

08/11/2015 at 11:45AM

14
#592 - Ilya / @izubk0v

08/18/2015 at 09:50AM

14
#593 - Victor Kasatkin / @vikasatkin

09/21/2015 at 04:47AM

14
#594 - Karl August / @ClockworkCoder

09/23/2015 at 12:31PM

14
#595 - Charlie Bevis / @bevis_charlie

10/02/2015 at 08:24PM

14
#596 - Umur Gedik / @umurgdk

10/06/2015 at 01:54PM

14
#597 - Charles Martin / @instinctive

10/07/2015 at 07:32AM

14
#598 - stepvhen / @stepvhen_web

10/17/2015 at 02:22PM

14
#599 - Matthew Desjardins / @Desjardins_M

10/25/2015 at 03:45AM

14
#600 - Pablo Castaneda / @pabloca23116377

11/06/2015 at 03:52PM