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 587cab5a0740c90006000006

Combines all items

For each line that starts with the same number I want to combine its contents

Start file
1 2472
1 664
2 2600
10 4135
10 5606
...
End file
1 2472 664
2 2600
10 4135 5606
...

View Diff

1,2c1
< 1 2472
< 1 664
---
> 1 2472 664
4,5c3
< 10 4135
< 10 5606
---
> 10 4135 5606

Solutions by @Zutatensuppe:

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

139 active golfers, 307 entries

Solutions by @Zutatensuppe:
9
#15 - Zutatensuppe / @Zutatensuppe

01/17/2017 at 12:46AM

9
#>15 - Zutatensuppe / @Zutatensuppe

01/17/2017 at 12:52AM

9
#>15 - Zutatensuppe / @Zutatensuppe

01/17/2017 at 12:52AM

11
#>132 - Zutatensuppe / @Zutatensuppe

01/17/2017 at 12:16AM

12
#>135 - Zutatensuppe / @Zutatensuppe

01/17/2017 at 12:10AM

16
#>137 - Zutatensuppe / @Zutatensuppe

01/17/2017 at 12:08AM

26
#>139 - Zutatensuppe / @Zutatensuppe

01/17/2017 at 12:07AM