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

1032 active golfers, 3603 entries

Leaderboard (lowest score wins):
12
#451 - Mmskl / @mrokati

10/29/2019 at 11:20PM

13
#452 - Louis Burke / @LambdaABeta

07/08/2015 at 05:55PM

13
#453 - Alexey Kotov / @atercat

07/23/2015 at 07:37AM

13
#454 - Mike McGowan / @mikemcgowan75

07/31/2015 at 02:50PM

13
#455 - Daniel Beck / @daniel_beck_il

08/01/2015 at 02:36PM

13
#456 - James Andy / @AndrewJamesIT

08/13/2015 at 11:52AM

13
#457 - David Perfors / @dnperfors

08/20/2015 at 07:00PM

13
#458 - KK (TheKK) / @kk_the_gamer

08/26/2015 at 11:56AM

13
#459 - Jinzhou Zhang / @jinzhouz

09/02/2015 at 07:15AM

13
#460 - Gerhard Gappmeier / @gergap

09/11/2015 at 08:14PM

13
#461 - Jon Nyman / @NymanJon

09/12/2015 at 09:57AM

13
#462 - Ronnie McCall / @RonnieMcC

09/21/2015 at 08:38PM

13
#463 - Daxin / @Daxin2010

09/26/2015 at 03:57AM

13
#464 - Joel N. / @cboar_

09/28/2015 at 12:24AM

13
#465 - Andrew Loucky / @merely_oolong

10/03/2015 at 05:09PM

13
#466 - [object Object] / @marinintim

10/16/2015 at 09:53AM

13
#467 - Roger / @enjoyheyo

10/20/2015 at 02:59AM

13
#468 - merphant / @merphant

10/22/2015 at 06:42AM

13
#469 - Ben Harris / @bharrisau

11/01/2015 at 08:00AM

13
#470 - Aaron Mininger / @AMininger

11/12/2015 at 02:07AM

13
#471 - David Mauskop / @mauskop

11/12/2015 at 08:36PM

13
#472 - Gordon / @gordonczedik

12/07/2015 at 11:38AM

13
#473 - Elrrrrrrr / @Elrrrrrrr

12/24/2015 at 08:55AM

13
#474 - Bingyunx / @bingyunx

12/25/2015 at 12:02PM

13
#475 - Michael / @Michael57309129

12/30/2015 at 09:19PM

13
#476 - Sinclair Desaud / @sdesaud

01/06/2016 at 05:36PM

13
#477 - Dimitar Dimitrov / @kurkale6ka

03/08/2016 at 03:39PM

13
#478 - Piotr MadaliƄski / @MadalinskiPiotr

03/08/2016 at 04:44PM

13
#479 - Travis Dean / @Travis_J_Dean

03/29/2016 at 12:05PM

13
#480 - Robber Toe / @robbertoe

04/01/2016 at 01:44AM