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

1190 active golfers, 4298 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
#>549 - herbage / @herbage2

11/07/2015 at 10:09AM

13
#>567 - herbage / @herbage2

12/10/2016 at 06:28AM

13
#>577 - herbage / @herbage2

10/05/2017 at 06:41AM

14
#>640 - herbage / @herbage2

11/07/2015 at 10:06AM

15
#>704 - herbage / @herbage2

11/07/2015 at 10:02AM

16
#>803 - herbage / @herbage2

11/07/2015 at 09:54AM

16
#>805 - herbage / @herbage2

11/23/2015 at 12:16PM

17
#>916 - herbage / @herbage2

11/07/2015 at 09:42AM

18
#>1039 - herbage / @herbage2

11/07/2015 at 09:46AM

18
#>1055 - herbage / @herbage2

12/10/2016 at 05:20AM

22
#>1139 - herbage / @herbage2

11/07/2015 at 09:30AM

23
#>1144 - herbage / @herbage2

11/07/2015 at 09:34AM