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):
28
#1021 - Andrew Michaud / @andrewjmichaud

09/03/2015 at 11:53PM

28
#1022 - Kevin Cooler / @KevinCooler

08/10/2018 at 04:39PM

29
#1023 - Shunichi Kanade / @shunkana

11/04/2018 at 01:30AM

29
#1024 - Kyle Safran / @kylesafran

01/19/2019 at 03:43AM

30
#1025 - Flugsio / @flugsio

03/10/2017 at 01:09PM

30
#1026 - CptBong / @cpt1bong

12/01/2018 at 06:55AM

32
#1027 - 我叫张三 / @tingyuelou

10/18/2019 at 09:52AM

33
#1028 - Christopher Wells / @ExcaliburZero_Z

12/11/2015 at 12:02PM

35
#1029 - Vim Golfer / @VimGolfer6

07/26/2019 at 11:50AM

38
#1030 - Bob Kepford / @kepford

02/23/2016 at 07:47AM

38
#1031 - tuyen / @tuyen66827418

11/27/2018 at 02:53PM

44
#1032 - Awakening George / @GeorgeC_monster

12/27/2018 at 08:04PM

55
#1033 - Pratap Koritala / @pratap_koritala

02/17/2016 at 05:28PM

60
#1034 - Aaron / @_Lordofthevoid_

11/24/2019 at 09:59AM

61
#1035 - python-tweepy / @python_tweepy

05/16/2017 at 03:45AM

72
#1036 - Theodore DeRego / @tedsta0

12/08/2015 at 03:17AM

85
#1037 - Wes Whitney / @wes_whitney

09/03/2015 at 03:59AM

86
#1038 - dahara / @kuma_moooon

08/20/2019 at 01:38PM

89
#1039 - Radoslav Ivanov / @rivanov1

09/15/2015 at 06:30PM