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

934 active golfers, 3246 entries

Leaderboard (lowest score wins):
12
#271 - Benedikt Ames / @wisp3rwind

01/29/2017 at 06:42PM

12
#272 - Zhihong Liu / @pieapple03

02/05/2017 at 02:18PM

12
#273 - setNull / @dadaojiemo

02/10/2017 at 01:54AM

12
#274 - Tim Grebien / @tiggg

02/21/2017 at 01:52PM

12
#275 - hen don / @hendon112

02/26/2017 at 12:32PM

12
#276 - Silhouettry / @silhouettry

02/28/2017 at 08:43AM

12
#277 - xwle / @xwle

03/12/2017 at 04:19AM

12
#278 - Nick Spoon / @be_the_spoon

03/12/2017 at 05:53AM

12
#279 - Zachary Neubert / @Mr_Saturn16347

03/13/2017 at 04:34PM

12
#280 - Daniel Hjelm / @dhjelm

03/14/2017 at 03:32PM

12
#281 - Ilya Shakirov / @aelaau

03/20/2017 at 08:58AM

12
#282 - Andreas Anderbach / @anderbacha

03/20/2017 at 03:09PM

12
#283 - Daniel / @Daniel00288663

03/21/2017 at 12:05PM

12
#284 - GVest Two / @GvestTwo

03/24/2017 at 10:35PM

12
#285 - Tyler Holien / @tylerholien

03/27/2017 at 03:19AM

12
#286 - Sergey Ryabko / @RyabkoSergey

03/30/2017 at 07:26PM

12
#287 - Solomon / @Trugbildjaeger

04/02/2017 at 10:00AM

12
#288 - Tose / @Toseim

04/11/2017 at 11:01AM

12
#289 - 20speedvegan / @ashkevinm

04/12/2017 at 02:10PM

12
#290 - Alex Linden / @alexwlinden1

04/18/2017 at 03:15PM

12
#291 - Tom BP / @ThosBP

04/20/2017 at 01:47PM

12
#292 - Colby Hamilton / @ColbyHamilton5

04/20/2017 at 06:51PM

12
#293 - Jason Hooper 🇨🇦 / @jasonincanada

04/23/2017 at 12:52AM

12
#294 - 梧桐王子 / @WutongYujie

04/24/2017 at 04:11AM

12
#295 - Ionel Manolache / @namnoi38

04/27/2017 at 10:18AM

12
#296 - Roland TheFreak / @_TheFreak_

04/29/2017 at 03:23PM

12
#297 - Chris Robertson / @chrisxrobertson

05/01/2017 at 06:11AM

12
#298 - Allen | Wheels / @SRWheel5

05/03/2017 at 10:29PM

12
#299 - Acid One / @AcidOne2

05/04/2017 at 08:40AM

12
#300 - Remus Dalrymple / @bornintheflames

05/04/2017 at 10:23AM