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

1156 active golfers, 4137 entries

Leaderboard (lowest score wins):
32
#1141 - 我叫张三 / @tingyuelou

10/18/2019 at 09:52AM

33
#1142 - Christopher Wells / @ExcaliburZero_Z

12/11/2015 at 12:02PM

35
#1143 - Vim Golfer / @VimGolfer6

07/26/2019 at 11:50AM

35
#1144 - kijete3127 / @kijete3127

12/13/2020 at 07:14PM

37
#1145 - Brendan Schaenzer / @bschaenzer

01/16/2021 at 03:32AM

38
#1146 - Bob Kepford / @kepford

02/23/2016 at 07:47AM

38
#1147 - tuyen / @tuyen66827418

11/27/2018 at 02:53PM

42
#1148 - smile at humor / @pseuyi

02/12/2020 at 06:46PM

44
#1149 - Awakening George / @GeorgeC_monster

12/27/2018 at 08:04PM

55
#1150 - Pratap Koritala / @pratap_koritala

02/17/2016 at 05:28PM

60
#1151 - Aaron / @_Lordofthevoid_

11/24/2019 at 09:59AM

61
#1152 - python-tweepy / @python_tweepy

05/16/2017 at 03:45AM

72
#1153 - Theodore DeRego / @tedsta0

12/08/2015 at 03:17AM

85
#1154 - Wes Whitney / @wes_whitney

09/03/2015 at 03:59AM

86
#1155 - dahara / @kuma_moooon

08/20/2019 at 01:38PM

89
#1156 - Radoslav Ivanov / @rivanov1

09/15/2015 at 06:30PM