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 by @Campbell_Dav:

Unlock 7 remaining solutions by signing in and submitting your own entry
Created by: @compilejason

1186 active golfers, 4264 entries

Solutions by @Campbell_Dav:
12
#113 - Campbell Davis / @Campbell_Dav

10/24/2015 at 06:58AM

16
#>799 - Campbell Davis / @Campbell_Dav

10/24/2015 at 06:51AM

18
#>1035 - Campbell Davis / @Campbell_Dav

10/24/2015 at 06:50AM

19
#>1093 - Campbell Davis / @Campbell_Dav

10/24/2015 at 06:50AM

20
#>1115 - Campbell Davis / @Campbell_Dav

10/24/2015 at 06:45AM

23
#>1140 - Campbell Davis / @Campbell_Dav

10/24/2015 at 06:38AM

30
#>1167 - Campbell Davis / @Campbell_Dav

10/24/2015 at 06:36AM