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

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 73 remaining solutions by signing in and submitting your own entry
#74 Nique Tarace / lllollkkii - Score: 10 - 02/06/17 @ 14:18
Jde2<Down>JdeZZ

0 comments

#75 ben eisner / b_eisner - Score: 10 - 02/09/17 @ 08:30
JdEjjJdeZZ

0 comments

#76 Yann / yannstadnicki - Score: 10 - 02/19/17 @ 07:02
JxxjjJdeZZ

0 comments

#77 박명호 / cruck103 - Score: 10 - 02/24/17 @ 12:32
J2x2jJ3xZZ

0 comments

#78 Mads Jensen / mads_je - Score: 10 - 02/24/17 @ 14:55
JdejjJdEZZ

0 comments

#79 Adi Ron / notadiron - Score: 10 - 03/10/17 @ 19:20
JdEjjJdEZZ

0 comments

#80 xwle / xwle - Score: 10 - 03/12/17 @ 11:21
JdejjJdeZZ

0 comments

#81 Mitchell / Spitchell - Score: 10 - 03/15/17 @ 23:46
J2x2<CR>J3xZZ

0 comments

#82 Brian Hall / _bruab_ - Score: 10 - 03/16/17 @ 13:55
JdejjJdeZZ

0 comments

#83 Daniel / Daniel00288663 - Score: 10 - 03/20/17 @ 10:52
J2x2jJ3xZZ

0 comments

#84 Mark Brody / _markbrody - Score: 10 - 03/23/17 @ 05:23
JdejjJdeZZ

0 comments

#85 caplod / caplod - Score: 10 - 04/04/17 @ 19:48
J2xjjJ3xZZ

0 comments

#86 Миша Сорокин / rafmikovi4 - Score: 10 - 04/10/17 @ 11:34
JdejjJdeZZ

0 comments

#87 marty / computerliker - Score: 10 - 05/05/17 @ 02:55
J2x2jJ3xZZ

0 comments

#88 Jerry Wu / AzureSpectra - Score: 10 - 05/05/17 @ 23:02
JxxjjJ3xZZ

0 comments

#89 Bruce Horner / HerbConjurer - Score: 11 - 05/16/17 @ 01:57
JxxjjJxxxZZ

0 comments

#90 Edouard Piette / EdPiette - Score: 11 - 05/19/17 @ 14:05
gJxjjgJxxZZ

0 comments

#91 Matt Walsh / wattmalsh - Score: 12 - 02/02/17 @ 21:50
Jde3GJde:wq<CR>

0 comments

#92 Aurélien Hervé / aurel_herve - Score: 12 - 04/21/17 @ 14:21
JxxjjJldt5ZZ

0 comments

Created by: voyeg3r

92 active golfers, 194 entries

Leaderboard (lowest score wins):
9
#1 - Cristian Lupașcu / clupasq

01/16/2017 at 12:44PM

9
#2 - Kai Yuan / kentyuan

01/16/2017 at 12:44PM

9
#3 - Smylers / Smylers2

01/16/2017 at 01:09PM

9
#4 - Urtica dioica / udioica

01/16/2017 at 01:31PM

9
#5 - Saki Gw / Sakigw

01/16/2017 at 01:42PM

9
#6 - Jan Bundesmann / ixjab

01/16/2017 at 02:25PM

9
#7 - Hugo Sanchón / sanchon

01/16/2017 at 02:28PM

9
#8 - Vaughn Cato / vaughncato

01/16/2017 at 02:29PM

9
#9 - John Braxler / braxler

01/16/2017 at 02:41PM

9
#10 - 84shin / ssssww

01/16/2017 at 06:03PM

9
#11 - BlackCap / BlackCapCoder

01/16/2017 at 06:25PM

9
#12 - Anoop Kumar / anooplive

01/16/2017 at 07:32PM

9
#13 - Craig Langford / cllangfo

01/16/2017 at 08:33PM

9
#14 - Michael Buckley / apolatg

01/16/2017 at 09:51PM

9
#15 - Zutatensuppe / Zutatensuppe

01/17/2017 at 12:46AM

9
#16 - Campbell Davis / Campbell_Dav

01/17/2017 at 07:03AM

9
#17 - Jon Krause / jkrause314

01/17/2017 at 07:13AM

9
#18 - Valacar / valacar

01/18/2017 at 03:20AM

9
#19 - Abc Def / phweiss1

01/18/2017 at 09:03AM

9
#20 - J. Cosa / esoesotracosa

01/18/2017 at 03:21PM

9
#21 - Jon E. Eguiluz / viroide

01/18/2017 at 05:35PM

9
#22 - Charlie OConor / charlieoconor

01/19/2017 at 05:45PM

9
#23 - terhorst / terhorst

01/19/2017 at 11:56PM

9
#24 - Steve Bitner / fourbitbots

01/20/2017 at 10:13AM

9
#25 - Ítalo Vieira / italogvieira

01/21/2017 at 12:06AM

9
#26 - Zhihong Liu / pieapple03

01/21/2017 at 02:53PM

9
#27 - sijinyuan / sijinyuan

01/22/2017 at 02:12AM

9
#28 - DatBoi / DatBoi42585694

01/23/2017 at 08:33PM

9
#29 - kli6891 / kli6891

01/24/2017 at 04:08AM

9
#30 - ZW / ZW73226885

01/24/2017 at 06:57PM

9
#31 - Bill Ruddock / biinari

01/25/2017 at 02:41PM

9
#32 - Birger / Birger_Ni

01/26/2017 at 07:48AM

9
#33 - nitin chadha / upcomingnewton

01/26/2017 at 09:30AM

9
#34 - Daniel Hogan / danielhogan21

01/27/2017 at 04:58AM

9
#35 - leroy / leroyalien

01/28/2017 at 06:57AM

9
#36 - Harold Treen / haroldtreen

01/30/2017 at 07:50PM

9
#37 - Alexander Cederblad / alexceder

02/02/2017 at 02:00AM

9
#38 - Patrick Sanan / patricksanan

02/03/2017 at 03:14PM

9
#39 - aselaIllayaparachchi / asela38

02/05/2017 at 02:28AM

9
#40 - setNull / dadaojiemo

02/06/2017 at 04:11AM

9
#41 - Petro Тrouq / zulolosi

02/12/2017 at 06:41PM

9
#42 - Cù Hữu Hoàng / Cuhuuhoang

02/14/2017 at 01:49PM

9
#43 - eban / eban

02/17/2017 at 01:16PM

9
#44 - Tim Grebien / tiggg

02/21/2017 at 01:39PM

9
#45 - Dan Prince / danj_prince

02/25/2017 at 01:18AM

9
#46 - Alexander Bessonov / nonsleepr

03/13/2017 at 10:02PM

9
#47 - Evgeny`s Kindle / EvgenyKindle

03/19/2017 at 10:15AM

9
#48 - Ilya Shakirov / aelaau

03/20/2017 at 09:25AM

9
#49 - Andreas Anderbach / anderbacha

03/20/2017 at 03:47PM

9
#50 - Zachary Neubert / Mr_Saturn16347

03/24/2017 at 01:07AM

9
#51 - Tyler Holien / tylerholien

03/27/2017 at 04:19AM

9
#52 - Reuben Narkwo / reubwo

04/04/2017 at 07:52PM

9
#53 - Kevin Ash / ashkevinm

04/12/2017 at 05:23PM

9
#54 - Colby Hamilton / ColbyHamilton5

04/21/2017 at 06:25PM

9
#55 - 梧桐王子 / WutongYujie

04/26/2017 at 01:04AM

9
#56 - Chris Robertson / chrisxrobertson

05/09/2017 at 12:04PM

9
#57 - linealloop / linealloop

05/18/2017 at 11:45PM

9
#58 - Melvin Cheung / MelvinCheung

05/25/2017 at 05:02AM

10
#59 - Chris Hughes / ChristofHughes

01/16/2017 at 12:15PM

10
#60 - tPenguinLTG / tpenguinltg

01/16/2017 at 12:46PM

10
#61 - AleksandarTrifunovic / akstrfn

01/16/2017 at 01:17PM

10
#62 - James / Dronak

01/16/2017 at 03:09PM

10
#63 - Air Quality Test 8 / AirQualityTest8

01/16/2017 at 06:56PM

10
#64 - Meninx / _Meninx_

01/16/2017 at 11:23PM

10
#65 - monster8 / monster8

01/17/2017 at 04:49AM

10
#66 - Amol Agrawal / pfrcks

01/17/2017 at 10:58AM

10
#67 - Valentino / TheAwesomeVibe

01/18/2017 at 03:44PM

10
#68 - Shea Martin / sheamus08

01/19/2017 at 07:43PM

10
#69 - Александр Афонин / Tuch3k

01/27/2017 at 11:06PM

10
#70 - Mohd Amin Yuddin / mohdaminyuddin

01/28/2017 at 01:10AM

10
#71 - Riz Joj / rizjoj

01/28/2017 at 01:31AM

10
#72 - Avimgolfer / l718232

01/30/2017 at 04:52AM

10
#73 - Dan Simmons / simmons_dan

02/02/2017 at 09:10PM

10
#74 - Nique Tarace / lllollkkii

02/06/2017 at 02:18PM

10
#75 - ben eisner / b_eisner

02/09/2017 at 08:30AM

10
#76 - Yann / yannstadnicki

02/19/2017 at 07:02AM

10
#77 - 박명호 / cruck103

02/24/2017 at 12:32PM

10
#78 - Mads Jensen / mads_je

02/24/2017 at 02:55PM

10
#79 - Adi Ron / notadiron

03/10/2017 at 07:20PM

10
#80 - xwle / xwle

03/12/2017 at 11:21AM

10
#81 - Mitchell / Spitchell

03/15/2017 at 11:46PM

10
#82 - Brian Hall / _bruab_

03/16/2017 at 01:55PM

10
#83 - Daniel / Daniel00288663

03/20/2017 at 10:52AM

10
#84 - Mark Brody / _markbrody

03/23/2017 at 05:23AM

10
#85 - caplod / caplod

04/04/2017 at 07:48PM

10
#86 - Миша Сорокин / rafmikovi4

04/10/2017 at 11:34AM

10
#87 - marty / computerliker

05/05/2017 at 02:55AM

10
#88 - Jerry Wu / AzureSpectra

05/05/2017 at 11:02PM

11
#89 - Bruce Horner / HerbConjurer

05/16/2017 at 01:57AM

11
#90 - Edouard Piette / EdPiette

05/19/2017 at 02:05PM

12
#91 - Matt Walsh / wattmalsh

02/02/2017 at 09:50PM

12
#92 - Aurélien Hervé / aurel_herve

04/21/2017 at 02:21PM