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 39 remaining solutions by signing in and submitting your own entry
#40 Ryan O'Connell / Salshammath - Score: 52 - 06/21/12 @ 17:12
:%s/\v(.{-})(:= - |: )\s*/<C-V><CR>\1<C-V><CR><C-V><CR><CR>qqjdwq2@q1Gdd:wq<CR>

0 comments

#41 Alec Chen / alec929 - Score: 57 - 11/03/12 @ 14:06
:1,3s/$/\r<CR>:8,10s/^ *//<CR>:%s/: */\r\r<CR>:%s/ - /\r\r<CR>11GxxZZ

0 comments

#42 Oliver Christ / 0liverChrist - Score: 58 - 11/23/13 @ 21:35
f:i<CR><CR><Esc>dtLo<Esc>jea<CR><CR><Esc>dt.o<Esc>jf:i<CR><CR><Esc>dt$o<Esc>jf:i<CR><CR><Esc>dtJjVjj<10.....ZZ

0 comments

#43 ltn614 / ltn614 - Score: 59 - 10/26/15 @ 14:57
qqf:i<CR><CR><Esc>wd0o<Esc>qjj@qj@qwd0jw.jw.5Go<Esc>kei<CR><Esc>ua<CR><CR><Esc>lld04jl.x5jddZZ

0 comments

#44 Ravi S Sinha / ambidextrousTx - Score: 60 - 09/02/12 @ 07:44
3Gf:x:%s/:/\r\r<CR>:%s/ - /~<CR>3G<<12GvG<<......<Esc>9Go<Esc>6Go<Esc>3Go<Esc>:wq<CR>

0 comments

#45 James / Dronak - Score: 60 - 09/04/14 @ 15:38
f:dtLi<CR><Esc>jf dt.i<CR><Esc>jf:dt$i<CR><Esc>jf:dtJi<CR><Esc>jdt8jdtPjdt11Gqqo<Esc>jq6@qZZ

0 comments

#46 Phillip Gomez / phillipgomez - Score: 62 - 06/23/12 @ 06:19
f:3x2i<CR><Esc>j;i<CR><Esc>f.3X2i<CR><Esc>ji<CR>f<BS><Esc>f:4x2i<CR><Esc>ji<CR><Esc>f:4x2i<CR><Esc>j<C-V>jj^xjji1<Esc>:wq<CR>

0 comments

#47 Marcus Lewis / mrcslws - Score: 85 - 07/08/12 @ 06:47
f n.f xxi<CR><CR><Esc>o<Esc>/ <CR>xxxo<Esc>ui<CR><CR><Esc>o<Esc>nxxxi<CR><CR><Esc>nnxxxi<CR><CR><Esc>jVjj:normal d^<CR>?co<CR>i<CR><Esc>:%s/://gc<BS><CR>:w<CR>:q<CR>

0 comments

#48 Justin Knag / justinknag - Score: 206 - 09/22/14 @ 21:17
f;f:r<CR>i<CR>o<BS>`<BS><Esc>o<Esc>jf-r<CR>k$lxjlllO<Esc>f-/-<CR>r<CR>O<Esc>jo<Esc>/:r<CR>/:<CR>uOjju<BS><BS><Esc>uyuuu<C-R><C-R><C-R><C-R><C-R>ddkk$xxk$jjkkojj<BS><BS><Esc>jjjo<Esc>jf:r<CR>O<Esc>jjVjj<<<Vjj:^\w*//<CR>:/^\/<BS>@<BS>w<BS>W*<CR>:<Up><Left><Left><Left><Left><Left><Esc>;:jjjjjjjjjk<BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS>jjjjjjjjjk<Esc>kkjvjjjkkjjj:s/^\@<BS>2<BS>w<BS>WS<BS>*//<CR>ZZ

0 comments

#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

42
#31 - Tibor Claassen / codebeige

06/22/2012 at 06:30AM

43
#32 - John Whitley / johnwhitley

06/21/2012 at 06:25PM

45
#33 - Sebastian Korten / FlashKorten

07/14/2012 at 11:01AM

45
#34 - 無ん垢の叫び / john_ababa

09/16/2012 at 06:44AM

46
#35 - Raúl Jara / rauljara

07/17/2012 at 05:41PM

46
#36 - q_revert / q_revert

07/18/2012 at 05:16PM

46
#37 - Alexander Pivovarov / pivizz

03/19/2016 at 11:33PM

48
#38 - Tom Cammann / tea_sea

11/15/2012 at 04:53PM

50
#39 - Tom Sisk / TomSisk

07/21/2012 at 06:52AM

52
#40 - Ryan O'Connell / Salshammath

06/21/2012 at 05:12PM

57
#41 - Alec Chen / alec929

11/03/2012 at 02:06PM

58
#42 - Oliver Christ / 0liverChrist

11/23/2013 at 09:35PM

59
#43 - ltn614 / ltn614

10/26/2015 at 02:57PM

60
#44 - Ravi S Sinha / ambidextrousTx

09/02/2012 at 07:44AM

60
#45 - James / Dronak

09/04/2014 at 03:38PM

62
#46 - Phillip Gomez / phillipgomez

06/23/2012 at 06:19AM

85
#47 - Marcus Lewis / mrcslws

07/08/2012 at 06:47AM

206
#48 - Justin Knag / justinknag

09/22/2014 at 09:17PM

254
#49 - Noel Alejandro / noelrock333

06/22/2012 at 10:35PM