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

1131 active golfers, 4035 entries

Leaderboard (lowest score wins):
13
#571 - Tyler k the science guy / @tyler_karpe

04/02/2019 at 07:34AM

13
#572 - たぬぽん / @eJYwMbymauWKF4B

06/11/2019 at 09:39AM

13
#573 - Chester Yap / @Chest_ErYap

07/10/2019 at 01:10AM

13
#574 - ささ / @nick11033

08/10/2019 at 09:32AM

13
#575 - averageRandomPerson / @averageRandomP1

08/11/2019 at 08:46PM

13
#576 - Lory / @Lory46845742

11/02/2019 at 12:55PM

13
#577 - mogitate / @mutemeat

11/20/2019 at 02:06PM

13
#578 - ErQ325 / @EQ325

12/15/2019 at 08:40AM

13
#579 - Dan Kilman / @dan_kilman

12/20/2019 at 11:39PM

13
#580 - Wenbo / @nuxping1

12/29/2019 at 03:59PM

13
#581 - Ali Kero / @stochastist

02/14/2020 at 09:44PM

13
#582 - KingYames / @JamesZeHunter

02/25/2020 at 01:18PM

13
#583 - Matt Drover / @mdrover25

03/02/2020 at 01:26PM

13
#584 - floyd / @floyd10086

03/11/2020 at 02:10AM

13
#585 - RaylanFox / @RaylanFox

04/14/2020 at 03:09PM

13
#586 - otfsenter / @otfsenter

06/06/2020 at 10:39AM

13
#587 - Romain / @djizeuscoco

06/20/2020 at 05:21PM

13
#588 - speisz / @speiszc

09/07/2020 at 08:45PM

14
#589 - Bruce Woodward / @Bruce_Woodward

07/17/2015 at 06:05AM

14
#590 - Tom van der Lee / @TomVdLee

07/23/2015 at 11:52AM

14
#591 - Wojtek Ryrych / @wryrych

07/28/2015 at 07:46PM

14
#592 - CoCo Loco / @lc2817

07/30/2015 at 06:12AM

14
#593 - Mac Goever / @MacGoever

08/03/2015 at 08:17PM

14
#594 - Georgi Georgiev / @GeorgievGeorgeS

08/11/2015 at 11:45AM

14
#595 - Ilya / @izubk0v

08/18/2015 at 09:50AM

14
#596 - Victor Kasatkin / @vikasatkin

09/21/2015 at 04:47AM

14
#597 - Karl August / @ClockworkCoder

09/23/2015 at 12:31PM

14
#598 - Charlie Bevis / @bevis_charlie

10/02/2015 at 08:24PM

14
#599 - Umur Gedik / @umurgdk

10/06/2015 at 01:54PM

14
#600 - Charles Martin / @instinctive

10/07/2015 at 07:32AM