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

934 active golfers, 3246 entries

Leaderboard (lowest score wins):
12
#391 - Nir Givon / @nir_givon

11/07/2018 at 07:38PM

12
#392 - name / @name65894813

11/15/2018 at 03:04PM

12
#393 - Wouter Horlings / @Achilleshiel

11/16/2018 at 11:45AM

12
#394 - Levi Self / @LeviRSelf

11/18/2018 at 10:22PM

12
#395 - Sören Schellhoff / @Jackokomm

11/21/2018 at 03:09PM

12
#396 - faisal / @faisalhackshah

11/26/2018 at 05:11AM

12
#397 - Jonathan Cabezas / @John_Harkan

11/27/2018 at 12:03PM

12
#398 - Mihai / @mihaicristiant

11/30/2018 at 01:24PM

12
#399 - Performa / @performa6400

12/02/2018 at 09:31AM

12
#400 - guxbug / @guxbug1

12/20/2018 at 02:03AM

12
#401 - Ackman Syntax Error / @AckmanSux

12/24/2018 at 11:29AM

12
#402 - Artur Mróz / @MrozArtur

12/29/2018 at 08:59PM

12
#403 - abgalphabet / @abgalphabet

01/14/2019 at 04:03PM

12
#404 - Adrien Plaçais / @AdrienPlcs

01/30/2019 at 05:13PM

12
#405 - Sebastien Nicoud / @sebnukem

02/06/2019 at 02:00AM

13
#406 - Louis Burke / @LambdaABeta

07/08/2015 at 05:55PM

13
#407 - Alexey Kotov / @atercat

07/23/2015 at 07:37AM

13
#408 - Mike McGowan / @mikemcgowan75

07/31/2015 at 02:50PM

13
#409 - Daniel Beck / @daniel_beck_il

08/01/2015 at 02:36PM

13
#410 - James Andy / @AndrewJamesIT

08/13/2015 at 11:52AM

13
#411 - David Perfors / @dnperfors

08/20/2015 at 07:00PM

13
#412 - KK (TheKK) / @kk_the_gamer

08/26/2015 at 11:56AM

13
#413 - Jinzhou Zhang / @jinzhouz

09/02/2015 at 07:15AM

13
#414 - Gerhard Gappmeier / @gergap

09/11/2015 at 08:14PM

13
#415 - Jon Nyman / @NymanJon

09/12/2015 at 09:57AM

13
#416 - Ronnie McCall / @RonnieMcC

09/21/2015 at 08:38PM

13
#417 - Daxin / @Daxin2010

09/26/2015 at 03:57AM

13
#418 - Joel N. / @cboar_

09/28/2015 at 12:24AM

13
#419 - Andrew Loucky / @merely_oolong

10/03/2015 at 05:09PM

13
#420 - [object Object] / @marinintim

10/16/2015 at 09:53AM