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

1194 active golfers, 4317 entries

Leaderboard (lowest score wins):
12
#511 - Andreas Siegrist / @andreaszwei

01/25/2021 at 08:15AM

12
#512 - 김범준 / @kmbmjn

05/11/2021 at 02:25AM

12
#513 - Michel Viktor / @tomkpz

07/27/2021 at 02:04AM

12
#514 - Jean George / @JeanGeo20504212

09/13/2021 at 05:13PM

12
#515 - 小雀 / @Chickadees16

11/23/2021 at 06:11AM

12
#516 - Flimsy Giraffe / @flimsy_giraffe

11/28/2021 at 12:44AM

12
#517 - russellzhaomao / @russellzhaomao

05/27/2022 at 08:50AM

12
#518 - Alex / @AlexanderHeatl2

07/07/2022 at 10:00PM

12
#519 - z00master / @z00master

09/02/2022 at 04:08PM

12
#520 - Janzen / @__Coos

09/29/2022 at 07:49AM

12
#521 - Omar Alawadhi / @OmarAla59544225

10/29/2022 at 05:17PM

12
#522 - 咸糖xiantang / @GIA917229015

07/09/2023 at 02:27PM

12
#523 - Hans Wurscht / @HansW313

09/20/2023 at 06:28AM

12
#524 - scpchicken / @scpchick

10/18/2023 at 08:33PM

12
#525 - asirago / @asiragoo

12/12/2023 at 04:42AM

12
#526 - sosa-daniel / @sosa-daniel

12/29/2023 at 09:14AM

12
#527 - jonas-grobe / @jonas-grobe

02/04/2024 at 04:52PM

12
#528 - Berel94 / @Berel94

03/15/2024 at 09:14PM

12
#529 - constap / @constap

05/18/2024 at 07:30PM

12
#530 - Peppa Pig / @PeppaPigSg

06/12/2024 at 12:56AM

12
#531 - nickGPT / @nickandbro

08/28/2024 at 04:05AM

12
#532 - Magnus Wahlstrand / @magnuswahlstrand

12/27/2024 at 07:16PM

12
#533 - temur arustashvili / @temurar12

10/03/2025 at 08:14PM

13
#534 - Louis Burke / @LambdaABeta

07/08/2015 at 05:55PM

13
#535 - Alexey Kotov / @atercat

07/23/2015 at 07:37AM

13
#536 - Mike McGowan / @mikemcgowan75

07/31/2015 at 02:50PM

13
#537 - Daniel Beck / @daniel_beck_il

08/01/2015 at 02:36PM

13
#538 - James Andy / @AndrewJamesIT

08/13/2015 at 11:52AM

13
#539 - David Perfors / @dnperfors

08/20/2015 at 07:00PM

13
#540 - KK (TheKK) / @kk_the_gamer

08/26/2015 at 11:56AM