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

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

1190 active golfers, 4298 entries

Solutions by @__ngtrongkha:
12
#509 - Kha Nguyen / @__ngtrongkha

01/13/2021 at 09:46AM

13
#>624 - Kha Nguyen / @__ngtrongkha

01/13/2021 at 09:46AM

14
#>668 - Kha Nguyen / @__ngtrongkha

01/13/2021 at 09:45AM

15
#>747 - Kha Nguyen / @__ngtrongkha

01/13/2021 at 09:43AM