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

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

1186 active golfers, 4264 entries

Solutions by @russellzhaomao:
12
#517 - russellzhaomao / @russellzhaomao

05/27/2022 at 08:50AM

13
#>621 - russellzhaomao / @russellzhaomao

05/27/2022 at 08:49AM

14
#>666 - russellzhaomao / @russellzhaomao

05/27/2022 at 08:48AM

15
#>744 - russellzhaomao / @russellzhaomao

05/27/2022 at 08:48AM

16
#>872 - russellzhaomao / @russellzhaomao

05/27/2022 at 08:46AM

17
#>1005 - russellzhaomao / @russellzhaomao

05/27/2022 at 08:45AM