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

1052 active golfers, 3678 entries

Leaderboard (lowest score wins):
16
#691 - Ethan Madison / @_ethanmad

09/25/2015 at 04:50AM

16
#692 - Felix Maxwell / @felix_maxwell

09/26/2015 at 10:31PM

16
#693 - Andrey / @androzhk

09/30/2015 at 02:51PM

16
#694 - Luca Giovagnoli / @ryuzaki250

09/30/2015 at 08:46PM

16
#695 - ggdGiBork:3^[:wq / @CopperBadger

10/06/2015 at 12:49AM

16
#696 - Sid Momin / @mominsid

10/08/2015 at 10:28PM

16
#697 - Artur Taranchiev / @ewokru

10/10/2015 at 03:34PM

16
#698 - Dian Xiao / @dian_xiao

10/12/2015 at 02:40AM

16
#699 - ɐʇnɥsɐpoʇ / @todashuta

10/12/2015 at 01:07PM

16
#700 - Chuck Newport / @swap_chuck

10/14/2015 at 06:15PM

16
#701 - mnx / @mnxx

10/15/2015 at 12:00PM

16
#702 - Simon Dudley / @psy__phi

10/22/2015 at 01:24PM

16
#703 - ささ / @sk_sn

10/23/2015 at 04:15AM

16
#704 - Gleb Kh / @GlebKh

10/24/2015 at 05:35AM

16
#705 - Shobhit Gupta / @shobhitg

10/25/2015 at 01:32PM

16
#706 - Phil Ting / @philipjting

11/15/2015 at 06:08AM

16
#707 - Stanislav Nikolov / @stanislavLTB

11/17/2015 at 09:37AM

16
#708 - Jakob Schöttl / @jschoettl

12/21/2015 at 02:31AM

16
#709 - Cody Callahan / @imnicuhtine

12/29/2015 at 05:24PM

16
#710 - Austin Wood / @indiesquidge

01/16/2016 at 04:44PM

16
#711 - Antony Garand / @AntoGarand

02/24/2016 at 09:57PM

16
#712 - Wolfe / @InteriorWolfe

02/27/2016 at 06:11AM

16
#713 - Mike Chen / @chagel

03/07/2016 at 04:21AM

16
#714 - glepha / @glepha_vim

03/31/2016 at 02:04AM

16
#715 - T. Sakuma / @taku39

04/29/2016 at 01:44PM

16
#716 - some call me mattp / @mattpep

05/12/2016 at 08:57PM

16
#717 - Kerry Todyruik / @KTodyruik

05/18/2016 at 01:20AM

16
#718 - niels aamloos / @AamloosNiels

05/28/2016 at 02:37PM

16
#719 - Russell Endicott / @bitester

06/28/2016 at 09:30PM

16
#720 - Alejandro Claro / @alejandroclaro

07/13/2016 at 11:32PM