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

1016 active golfers, 3553 entries

Leaderboard (lowest score wins):
12
#421 - Sherab Giovannini / @shaddycls

05/02/2019 at 09:58PM

12
#422 - eric huang / @EricGodhand4826

05/04/2019 at 07:18PM

12
#423 - Kai.Li / @KaiLi19

05/06/2019 at 03:00PM

12
#424 - David McDonald / @dmcdona

05/19/2019 at 12:33AM

12
#425 - Fiffy / @sr21486642

05/22/2019 at 07:25AM

12
#426 - mkaminaga / @mkmng3

06/07/2019 at 01:19PM

12
#427 - Seunghun Lee / @earlbread

06/12/2019 at 03:57PM

12
#428 - Foo Bar / @foobar01123

06/17/2019 at 05:06AM

12
#429 - majo senf / @majo_senf

06/17/2019 at 07:37AM

12
#430 - せいほう / @FICSQF

07/04/2019 at 02:49PM

12
#431 - Peter Demin / @peterdemin

07/11/2019 at 06:46PM

12
#432 - Rasmus Öhman Bruno / @rasmohman

07/23/2019 at 12:31PM

12
#433 - Matt Vaughn / @mattttvaughn

07/29/2019 at 01:32PM

12
#434 - Joe Fahnestock🌵 / @Joecupojoe

08/01/2019 at 07:17AM

12
#435 - Ron Holt / @ron_holt

08/07/2019 at 10:16PM

12
#436 - sooqua / @sooqua

08/08/2019 at 07:07PM

12
#437 - Clint Caudle / @ClintCaudle

08/20/2019 at 11:40PM

12
#438 - Martin Delille / @martinodelilo

08/22/2019 at 05:04PM

12
#439 - Adam Hartz / @awareofnow

08/24/2019 at 05:26PM

12
#440 - José / @AngelGaldamez

08/26/2019 at 05:35PM

12
#441 - BESSENG A IREH Guy / @guybesseng

09/05/2019 at 12:50PM

12
#442 - Cassandra / @kascein

09/17/2019 at 07:51PM

12
#443 - Marco Mannucci / @markomannux

09/18/2019 at 04:57PM

13
#444 - Louis Burke / @LambdaABeta

07/08/2015 at 05:55PM

13
#445 - Alexey Kotov / @atercat

07/23/2015 at 07:37AM

13
#446 - Mike McGowan / @mikemcgowan75

07/31/2015 at 02:50PM

13
#447 - Daniel Beck / @daniel_beck_il

08/01/2015 at 02:36PM

13
#448 - James Andy / @AndrewJamesIT

08/13/2015 at 11:52AM

13
#449 - David Perfors / @dnperfors

08/20/2015 at 07:00PM

13
#450 - KK (TheKK) / @kk_the_gamer

08/26/2015 at 11:56AM