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

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

1167 active golfers, 4184 entries

Solutions by @MelvinCheung:
12
#305 - Melvin Cheung / @MelvinCheung

05/24/2017 at 08:14AM

13
#>558 - Melvin Cheung / @MelvinCheung

05/24/2017 at 08:13AM

14
#>637 - Melvin Cheung / @MelvinCheung

05/24/2017 at 08:10AM

15
#>706 - Melvin Cheung / @MelvinCheung

05/24/2017 at 08:08AM

16
#>815 - Melvin Cheung / @MelvinCheung

05/24/2017 at 08:04AM

19
#>1079 - Melvin Cheung / @MelvinCheung

05/24/2017 at 08:07AM

20
#>1100 - Melvin Cheung / @MelvinCheung

05/24/2017 at 08:01AM