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

1034 active golfers, 3618 entries

Leaderboard (lowest score wins):
15
#631 - Simon Cheng / @bambooraccoon

01/15/2018 at 07:46PM

15
#632 - Max Krogius / @MaxKrogius

02/23/2018 at 10:34PM

15
#633 - Chirag Joshi / @thechijos

08/27/2018 at 05:19AM

15
#634 - daniel / @daniel31464605

09/08/2018 at 07:03PM

15
#635 - duxinxiao / @duxinxiao

09/17/2018 at 04:48AM

15
#636 - konankun / @__konankun

09/22/2018 at 01:13AM

15
#637 - prince ducaca / @prince_du_caca

09/27/2018 at 10:51PM

15
#638 - caplod / @caplod

10/31/2018 at 04:26PM

15
#639 - PJ Frazer / @pj_frazer

11/24/2018 at 08:11PM

15
#640 - MGJoe93 / @mgjoe93

03/06/2019 at 07:07PM

15
#641 - JonasS / @jonas42s

05/30/2019 at 06:41PM

15
#642 - Chris G / @AboutThatThing

06/10/2019 at 09:45AM

16
#643 - Anton Davydov / @anton_davydov

07/07/2015 at 08:16PM

16
#644 - James / @Dronak

07/08/2015 at 01:14AM

16
#645 - Olik / @oli33k

07/10/2015 at 04:21PM

16
#646 - raghu erapaneedi / @raghue9

07/13/2015 at 05:44PM

16
#647 - vimgolf / @myspare307

07/15/2015 at 11:00PM

16
#648 - T0ha / @T0ha666

07/16/2015 at 12:26PM

16
#649 - Milind Ganjoo / @mganjoo

07/16/2015 at 09:14PM

16
#650 - James Hudon / @jrbhudon

07/17/2015 at 04:50AM

16
#651 - Perry van Schaijk / @PvSchaijk

07/19/2015 at 12:44PM

16
#652 - Florian L├╝cke / @CannibalGorilla

07/20/2015 at 08:57PM

16
#653 - ushumpei / @ushumpei_

07/21/2015 at 04:06PM

16
#654 - Jason Schulz / @uxcn_

07/24/2015 at 10:21PM

16
#655 - McKay Ward / @mckayward

07/25/2015 at 09:05PM

16
#656 - Bruce Park / @bpark0

07/27/2015 at 10:39PM

16
#657 - Robbie Clarken / @robbieclarken

07/28/2015 at 10:58AM

16
#658 - Toni Dezman / @CesarekToni

07/28/2015 at 05:51PM

16
#659 - Bakhti Aripov / @bakhti

07/29/2015 at 09:14AM

16
#660 - Shubham Sharma / @shubh1337

07/29/2015 at 05:26PM