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

1039 active golfers, 3634 entries

Leaderboard (lowest score wins):
12
#211 - Gabriel Tailor / @gabriel_tailor

06/06/2016 at 03:42AM

12
#212 - Elliott Beach / @718282Beach

06/06/2016 at 05:17AM

12
#213 - Ameen P / @Ameen_P1

06/07/2016 at 09:17PM

12
#214 - tgmeng / @lazy_fabric

06/08/2016 at 02:54PM

12
#215 - Tautvilas / @TautviIas

06/09/2016 at 10:11AM

12
#216 - Artūras Zakrevskis / @AZakrevskis

06/09/2016 at 10:15AM

12
#217 - Arijus / @argshook

06/09/2016 at 10:23AM

12
#218 - David Devecsery / @devecsery

06/12/2016 at 07:50PM

12
#219 - Paweł Smołka / @pawelsmolka

06/15/2016 at 10:41AM

12
#220 - TaoChen / @632143592Tao

06/17/2016 at 02:08AM

12
#221 - Kirill Sidenko / @KirillSidenko

06/19/2016 at 10:22AM

12
#222 - Jacob Niehus / @wilywampa

06/20/2016 at 02:34AM

12
#223 - Ram Tamtam / @ramtamtamtam

06/22/2016 at 09:08AM

12
#224 - Timothy Caleb Nordlo / @tnordloh

06/26/2016 at 05:01AM

12
#225 - Alex Rod. / @thealex23ro

07/01/2016 at 08:13PM

12
#226 - 王运 / @640138017

07/12/2016 at 01:16AM

12
#227 - Girish Gokul / @girishgoku

07/14/2016 at 04:51AM

12
#228 - Alonzo / @tolver_a

07/22/2016 at 08:47AM

12
#229 - Sandeep Dhavale / @sandeep_dhavale

07/22/2016 at 09:16PM

12
#230 - Jeremiah Goyette / @JeremiahGoyette

07/31/2016 at 06:18PM

12
#231 - Will / @obiwan__k3n00bi

08/14/2016 at 09:36PM

12
#232 - jj johnson / @jcassj1

08/22/2016 at 04:27PM

12
#233 - Stephen Aument / @saument

08/30/2016 at 09:35PM

12
#234 - jaresty / @jaresty

08/31/2016 at 03:25PM

12
#235 - onedayrex / @onedayzns

09/01/2016 at 03:41AM

12
#236 - jdupont655 / @jdupont655

09/01/2016 at 06:51PM

12
#237 - Krzysztof Borkowski / @smiechowy

09/03/2016 at 07:08PM

12
#238 - loki2441 / @loki2441

09/05/2016 at 12:07PM

12
#239 - hor1ace / @hor3ace

09/07/2016 at 08:43PM

12
#240 - ILikeVim / @VimIsCool

09/13/2016 at 06:45AM