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

1124 active golfers, 4008 entries

Leaderboard (lowest score wins):
12
#451 - Mmskl / @mrokati

10/29/2019 at 11:20PM

12
#452 - Lei Kin / @kireinasorakin

11/14/2019 at 04:52AM

12
#453 - skamgolf / @skamgolf

11/22/2019 at 01:19AM

12
#454 - Delon / @delonleonard

12/27/2019 at 12:07PM

12
#455 - Jason Neylon / @jasonneylon

01/03/2020 at 10:29AM

12
#456 - Thomas Jung / @ThomasAJung

01/27/2020 at 08:05AM

12
#457 - funfunhada / @jinho0929

02/13/2020 at 12:56PM

12
#458 - Pham Tuan Anh / @anhpt379

02/18/2020 at 03:19AM

12
#459 - howanto / @ho_wan_

02/21/2020 at 02:48PM

12
#460 - countime / @countime1

03/09/2020 at 09:58AM

12
#461 - Sean Dewar / @seandewar

03/13/2020 at 10:21PM

12
#462 - Niklas Ydebäck / @Ydebaeck

03/17/2020 at 12:22AM

12
#463 - Marco / @Marco24456514

03/21/2020 at 11:54PM

12
#464 - Rodrigo V. Lopes / @rodvlopes

03/22/2020 at 06:15PM

12
#465 - Ryan Nevius / @ryannevius

03/24/2020 at 06:22AM

12
#466 - relastle / @relastle

03/29/2020 at 05:42AM

12
#467 - Sikker Rosendal / @srosendaldk

04/17/2020 at 12:15PM

12
#468 - edvrds / @edvrds

04/18/2020 at 08:07PM

12
#469 - Jason / @roosjason

04/19/2020 at 02:21AM

12
#470 - Moatvald / @moatvald

04/22/2020 at 08:43AM

12
#471 - Sylvain Leroux / Yes, I Know IT ! / @Yes_I_Know_IT

04/27/2020 at 11:50PM

12
#472 - Arthur Goodman / @ArthurGoodman3

05/01/2020 at 11:25AM

12
#473 - bladehaze / @bladehaze

05/02/2020 at 05:35PM

12
#474 - cyndiii-development / @cyndiiidevelop1

05/05/2020 at 05:55AM

12
#475 - Mateo / @Mateo_BCN

05/10/2020 at 10:42PM

12
#476 - Bhagwan / @El_Bhagwan

05/11/2020 at 08:16PM

12
#477 - Ebi / @ehan6

05/23/2020 at 03:13PM

12
#478 - 于吉星 / @fishermryn

05/28/2020 at 07:53AM

12
#479 - RockerZZY / @rocker_zzy

05/29/2020 at 12:08AM

12
#480 - samet ぷ / @jssamet

05/30/2020 at 12:45PM