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):
14
#541 - Dylan / @helloasdff

03/03/2016 at 09:25PM

14
#542 - Sébastien Vincent / @shinmei

03/05/2016 at 03:54PM

14
#543 - wk / @wearetherock

03/10/2016 at 05:28PM

14
#544 - Carlos A Henríquez Q / @lagunex

03/15/2016 at 11:06PM

14
#545 - hans peter / @mullovc

03/22/2016 at 09:35PM

14
#546 - Clémence / @Clemence_Neoxia

04/05/2016 at 08:14AM

14
#547 - f00b8tr / @f00b8tr5

04/09/2016 at 05:27AM

14
#548 - Миша Сорокин / @rafmikovi4

04/10/2017 at 09:07AM

14
#549 - Will Gunther / @WillGunther

06/11/2017 at 07:59PM

14
#550 - Obi Wan Kenobi / @ObiWanK02417997

06/16/2017 at 06:36PM

14
#551 - Zel / @Zel98836552

09/08/2017 at 05:49PM

14
#552 - Luke Bryant / @LukeBryant55

10/21/2017 at 11:14AM

14
#553 - popo5colo / @popo5colo1

10/31/2017 at 12:37PM

14
#554 - Florent Jaby / @Floby

04/09/2018 at 04:30PM

14
#555 - Luke Lee / @luke0201

05/06/2018 at 05:03AM

14
#556 - Hugo / @szeyattai

08/19/2018 at 03:46PM

14
#557 - Juliette but spooky / @namebrandloser

11/16/2018 at 08:57PM

14
#558 - 강현 / @Applesquiz

01/22/2019 at 11:16AM

14
#559 - Emil Braserud / @Erdustiggen

03/25/2019 at 09:08AM

14
#560 - Crystal L / @Cartsly

07/13/2019 at 09:57PM

14
#561 - Ivo Blöchliger / @aigledesalpes

08/03/2019 at 06:19PM

15
#562 - Steve Tjoa / @stevetjoa

07/07/2015 at 08:44PM

15
#563 - Lifepillar / @lifepillar

07/08/2015 at 08:24AM

15
#564 - Zsolt Fekete / @feketezsolt

07/08/2015 at 04:50PM

15
#565 - Agostino Hernandez / @vimagostino

07/08/2015 at 06:03PM

15
#566 - teilersumme / @teilersumme

07/08/2015 at 11:29PM

15
#567 - François Marais / @maraisf

07/10/2015 at 07:54PM

15
#568 - Marcelo Montu / @_mMontu_

07/16/2015 at 04:35PM

15
#569 - Evan Coleman / @edc1591

07/16/2015 at 04:51PM

15
#570 - Carlos / @lemonpan

07/17/2015 at 01:22PM