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

1167 active golfers, 4184 entries

Leaderboard (lowest score wins):
15
#721 - PJ Frazer / @pj_frazer

11/24/2018 at 08:11PM

15
#722 - MGJoe93 / @mgjoe93

03/06/2019 at 07:07PM

15
#723 - JonasS / @jonas42s

05/30/2019 at 06:41PM

15
#724 - Chris G / @AboutThatThing

06/10/2019 at 09:45AM

15
#725 - John Otters / @OttersJohn

12/17/2019 at 05:14PM

15
#726 - Michael Meixner / @meixner62

01/22/2020 at 08:12PM

15
#727 - novax / @novax22953288

02/09/2020 at 07:36PM

15
#728 - hansim / @hanstartup

06/15/2020 at 04:40AM

15
#729 - Rustem B. / @_rustemb

07/31/2020 at 07:00PM

15
#730 - Put me on your list tyrants / @electronjunkie

08/16/2020 at 06:37PM

15
#731 - Nagy Zoltán / @nazzoli

09/15/2020 at 03:04PM

15
#732 - Gytis Vinclovas / @GytisVinclovas

10/09/2020 at 10:11AM

15
#733 - Demian Martinez / @demianuco

11/02/2020 at 12:28PM

16
#734 - Anton Davydov / @anton_davydov

07/07/2015 at 08:16PM

16
#735 - James / @Dronak

07/08/2015 at 01:14AM

16
#736 - Olik / @oli33k

07/10/2015 at 04:21PM

16
#737 - raghu erapaneedi / @raghue9

07/13/2015 at 05:44PM

16
#738 - vimgolf / @myspare307

07/15/2015 at 11:00PM

16
#739 - T0ha / @T0ha666

07/16/2015 at 12:26PM

16
#740 - Milind Ganjoo / @mganjoo

07/16/2015 at 09:14PM

16
#741 - James Hudon / @jrbhudon

07/17/2015 at 04:50AM

16
#742 - Perry van Schaijk / @PvSchaijk

07/19/2015 at 12:44PM

16
#743 - Florian Lücke / @CannibalGorilla

07/20/2015 at 08:57PM

16
#744 - ushumpei / @ushumpei_

07/21/2015 at 04:06PM

16
#745 - Jason Schulz / @uxcn_

07/24/2015 at 10:21PM

16
#746 - McKay Ward / @mckayward

07/25/2015 at 09:05PM

16
#747 - Bruce Park / @bpark0

07/27/2015 at 10:39PM

16
#748 - Robbie Clarken / @robbieclarken

07/28/2015 at 10:58AM

16
#749 - Toni Dezman / @CesarekToni

07/28/2015 at 05:51PM

16
#750 - Bakhti Aripov / @bakhti

07/29/2015 at 09:14AM