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

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

1193 active golfers, 4312 entries

Solutions by @magnuswahlstrand:
12
#532 - Magnus Wahlstrand / @magnuswahlstrand

12/27/2024 at 07:16PM

13
#>626 - Magnus Wahlstrand / @magnuswahlstrand

12/27/2024 at 07:15PM

14
#>671 - Magnus Wahlstrand / @magnuswahlstrand

12/27/2024 at 07:10PM

15
#>750 - Magnus Wahlstrand / @magnuswahlstrand

12/27/2024 at 07:09PM

16
#>878 - Magnus Wahlstrand / @magnuswahlstrand

12/27/2024 at 07:08PM

18
#>1095 - Magnus Wahlstrand / @magnuswahlstrand

12/27/2024 at 07:07PM

25
#>1162 - Magnus Wahlstrand / @magnuswahlstrand

12/27/2024 at 07:02PM