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 4fe354e8f73248000100002d

Inconsistent real estate paste

Format a hand-typed real estate listing that uses inconsistent punctuation into four sections

Start file
PROPERTY ADDRESS:  LOT 20, 10 FORTH LANE, WATERLOO, NC
ACREAGE - .842 ACRE
PRICE: - $140,500.00
CONTACT INFORMATION:   JOE & MARGE ALLAN
                                          81 RIDGE DRIVE
                                          PROVIDENCE, RI  02813
                                         1-555-231-2135
End file
PROPERTY ADDRESS

LOT 20, 10 FORTH LANE, WATERLOO, NC

ACREAGE

.842 ACRE

PRICE

$140,500.00

CONTACT INFORMATION

JOE & MARGE ALLAN
81 RIDGE DRIVE
PROVIDENCE, RI  02813
1-555-231-2135

View Diff

1,7c1,18
< PROPERTY ADDRESS:  LOT 20, 10 FORTH LANE, WATERLOO, NC
< ACREAGE - .842 ACRE
< PRICE: - $140,500.00
< CONTACT INFORMATION:   JOE & MARGE ALLAN
<                                           81 RIDGE DRIVE
<                                           PROVIDENCE, RI  02813
<                                          1-555-231-2135
---
> PROPERTY ADDRESS
> 
> LOT 20, 10 FORTH LANE, WATERLOO, NC
> 
> ACREAGE
> 
> .842 ACRE
> 
> PRICE
> 
> $140,500.00
> 
> CONTACT INFORMATION
> 
> JOE & MARGE ALLAN
> 81 RIDGE DRIVE
> PROVIDENCE, RI  02813
> 1-555-231-2135

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 48 remaining solutions by signing in and submitting your own entry
#49 Noel Alejandro / @noelrock333 - Score: 254 - 06/22/12 @ 22:35
:4<BS>%s/[.<BS>: -]/\r<CR>I<Esc><Left><Right>Iwd<Esc><BS><Del><Del>$(<BS><Right>d(jkd(u<Down><Right><Left>dwjkkddkwddud(:%s/[0<BS>: -]/\r<CR>i<BS>/<BS>-<Esc>13Gi<BS> <Esc>()*{{}}<Esc>12GD(<Esc>uD(<Esc>ui<BS><BS><BS><CR><Esc>k<Esc>ki<BS> <Esc>10G9Gde6Ghx<Esc>3GD(ui<BS><BS>k<BS><Esc>ki<BS> <Esc>$i<Esc>o3$<Esc>u<Esc>1$<Esc><Esc><Esc><Esc>1$2$1$1$1$o1<BS><Esc>$1$1G$o<Esc>7G$o<Esc>%:%s<BS><BS>1<BS>11,<BS>s,<BS>,1,10<BS><BS><BS><BS><BS>/1/10<BS><BS>$1<CR><Esc>$o<Esc>4ji<BS> <Esc>3hi<CR><Esc>32<BS><BS>2<Esc>18Gi<BS> <Esc>:w<CR><C-W>q

0 comments


Created by: @Salshammath

49 active golfers, 140 entries

Leaderboard (lowest score wins):
24
#1 - Tim Chase / @gumnos

06/21/2012 at 06:08PM

24
#2 - Conner McDaniel / @connermcd

06/21/2012 at 07:08PM

24
#3 - Paul Tarjan / @ptarjan

07/29/2012 at 05:02PM

24
#4 - Ryan Patterson / @CGamesPlay

07/29/2012 at 05:23PM

24
#5 - 刘玮 / @lwjef

08/17/2012 at 11:29AM

24
#6 - Victor Ramirez / @virako

10/20/2012 at 12:58AM

24
#7 - John Braxler / @braxler

06/09/2014 at 04:23PM

25
#8 - Federico Galassi / @federicogalassi

06/22/2012 at 04:37PM

25
#9 - Urtica dioica / @udioica

12/12/2012 at 08:53AM

26
#10 - Justin Love / @wondible

06/22/2012 at 02:08PM

26
#11 - (Emile (Swarts)) / @EmileSwarts

08/19/2012 at 12:32PM

26
#12 - Sune Simonsen / @sunesimonsen

08/27/2012 at 06:33PM

26
#13 - Édouard M'tou / @DouardM

10/09/2012 at 11:41AM

28
#14 - Daniel S / @smatter0ne

07/17/2012 at 10:17AM

28
#15 - Reed Riley / @ReedRile

08/12/2012 at 07:24PM

31
#16 - James Davis / @tripvg

08/05/2012 at 12:00AM

32
#17 - Kerson Hsiao / @KersonHsiao

06/22/2012 at 07:30AM

32
#18 - h_east (トロッコ6個) / @h_east

06/22/2012 at 07:30AM

32
#19 - Joonas Pihlajamaa / @jokkebk

03/15/2014 at 10:47AM

34
#20 - ☈king / @SharpsawDotOrg

06/24/2012 at 07:12AM

34
#21 - Rod Knowlton / @codelahoma

07/08/2012 at 01:08AM

34
#22 - Michael Limiero / @michaellimiero

08/14/2012 at 04:47PM

34
#23 - tmr / @tmr314

09/06/2012 at 03:24PM

35
#24 - Daniel Lundin / @danielundin

06/25/2012 at 10:28AM

35
#25 - cj / @cj01101

10/22/2013 at 06:04PM

36
#26 - Caleb McDaniel / @wcaleb

07/26/2012 at 07:37PM

37
#27 - Pandae / @psasqw

06/22/2012 at 11:10AM

37
#28 - Domon / @Domon

09/13/2012 at 05:47PM

38
#29 - Nipunn Koorapati / @nipunn1313

07/18/2012 at 05:40AM

40
#30 - Sean Griffin / @sgrif

08/13/2012 at 01:29AM