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 @herbage2:

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

1167 active golfers, 4184 entries

Solutions by @herbage2:
12
#118 - herbage / @herbage2

11/07/2015 at 10:10AM

12
#>118 - herbage / @herbage2

11/07/2015 at 10:11AM

12
#>260 - herbage / @herbage2

12/10/2016 at 06:28AM

12
#>260 - herbage / @herbage2

12/17/2016 at 02:33PM

12
#>329 - herbage / @herbage2

10/05/2017 at 06:41AM

13
#>536 - herbage / @herbage2

11/07/2015 at 10:09AM

13
#>554 - herbage / @herbage2

12/10/2016 at 06:28AM

13
#>564 - herbage / @herbage2

10/05/2017 at 06:41AM

14
#>626 - herbage / @herbage2

11/07/2015 at 10:06AM

15
#>690 - herbage / @herbage2

11/07/2015 at 10:02AM

16
#>788 - herbage / @herbage2

11/07/2015 at 09:54AM

16
#>790 - herbage / @herbage2

11/23/2015 at 12:16PM

17
#>900 - herbage / @herbage2

11/07/2015 at 09:42AM

18
#>1018 - herbage / @herbage2

11/07/2015 at 09:46AM

18
#>1034 - herbage / @herbage2

12/10/2016 at 05:20AM

22
#>1116 - herbage / @herbage2

11/07/2015 at 09:30AM

23
#>1121 - herbage / @herbage2

11/07/2015 at 09:34AM