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

1167 active golfers, 4184 entries

Leaderboard (lowest score wins):
18
#1051 - ʎɐɹ / @staticjak

10/19/2018 at 08:21PM

18
#1052 - Chris Maher / @chrismaherthe

11/15/2018 at 04:15PM

18
#1053 - band / @band26376522

12/09/2018 at 12:03AM

18
#1054 - Sondre Lunde / @SondreSL

12/30/2018 at 11:59AM

18
#1055 - Marcio M Pereira / @iviarcio

12/30/2018 at 01:15PM

18
#1056 - Heungsub Lee / @eelbus

01/20/2019 at 04:00PM

18
#1057 - tenteke / @kuskus3

02/16/2019 at 12:22AM

18
#1058 - alexandrasou / @alexandrasou2

05/22/2019 at 01:40PM

18
#1059 - mirsemen / @mirsemen1

07/16/2019 at 02:57AM

18
#1060 - Christian / @paierlep

09/03/2019 at 09:42PM

18
#1061 - 홍순우 / @eU9gM5Bvtj1UNpc

09/04/2019 at 03:41AM

18
#1062 - Yannick Gladow / @y_gldw

09/17/2019 at 03:33PM

18
#1063 - hokonch / @hokonch

12/22/2019 at 04:30PM

18
#1064 - Steve Racanovic / @steve_racanovic

01/21/2020 at 02:19AM

18
#1065 - stevan / @stevan76107116

02/12/2020 at 07:00AM

18
#1066 - Harsh Raj / @harshraj22aug

03/12/2020 at 04:19PM

18
#1067 - BnnGolfer / @BnnGolfer

03/27/2020 at 04:52PM

18
#1068 - Mack Hutsell / @sellshuts

05/25/2020 at 12:42AM

18
#1069 - drGsus / @drGsus

07/25/2020 at 05:40PM

18
#1070 - Gunter Kluge / @KlugeGunter

01/08/2021 at 09:36PM

19
#1071 - Michael Cramer / @mlcramer

07/13/2015 at 02:49AM

19
#1072 - hidnasio / @hidnasio

07/20/2015 at 01:35AM

19
#1073 - alex / @alexAngle8

08/21/2015 at 08:25PM

19
#1074 - Otto / @OttoRottier

10/19/2015 at 07:47PM

19
#1075 - manfred knapp / @fred_pooshka

12/10/2015 at 10:06PM

19
#1076 - aashiq / @aashiq

01/12/2016 at 08:15AM

19
#1077 - ゾーブフィッシュ / @zorbfish

03/07/2016 at 01:38AM

19
#1078 - Joe McKenney / @mckenney00

03/19/2016 at 05:43AM

19
#1079 - Jonathan / @jmcphers

08/16/2016 at 08:02PM

19
#1080 - Ryan Coopersmith / @RyanCoopersmit1

06/04/2017 at 09:24PM