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 51dfe1d12b2f6d0002000046

Delete unwanted lines

Delete all lines which does not end in "o.."

Start file
gamag
gamah
ganci
gaoag
gaoah
gaoci
gbmag
gboch
gboci
gcmag
gcmah
gcmai
gcnci
gcoag
gcoah
gcoai
gcoch
gcobg
gcoci
hamag
hamah
hanci
haoag
hbmag
hbnci
hboag
hboch
hboci
hcmag
hcncg
hcnch
hcnci
hcoag
hcoci
iamag
End file
gaoag
gaoah
gaoci
gboch
gboci
gcoag
gcoah
gcoai
gcoch
gcobg
gcoci
haoag
hboag
hboch
hboci
hcoag
hcoci

View Diff

1,3d0
< gamag
< gamah
< ganci
7d3
< gbmag
10,13d5
< gcmag
< gcmah
< gcmai
< gcnci
20,22d11
< hamag
< hamah
< hanci
24,25d12
< hbmag
< hbnci
29,32d15
< hcmag
< hcncg
< hcnch
< hcnci
35d17
< iamag

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 209 remaining solutions by signing in and submitting your own entry
#210 Benjamin Zimmer / @techerausa - Score: 57 - 09/30/13 @ 14:53
dddddd<Down><Down><Down>dd<Down><Down>dddddddd<Down><Down><Down><Down><Down><Down>dddddd<Down>dddd<Down><Down><Down>dddddddd<Down><Down>dd:wq<CR>

0 comments


Created by: @powertomato

210 active golfers, 350 entries

Leaderboard (lowest score wins):
9
#91 - A. N. / @arez42

10/24/2013 at 12:06PM

9
#92 - Eric Potter / @pottereric

10/24/2013 at 03:55PM

9
#93 - Tzipan / @Tzipan

10/27/2013 at 01:30PM

9
#94 - Hoz / @hzopak

10/28/2013 at 03:21PM

9
#95 - Fnord Everywhere / @FnordE

10/30/2013 at 03:49PM

9
#96 - mwcz / @mwcz

11/01/2013 at 06:15PM

9
#97 - Charlene Tshos / @charlymul

11/06/2013 at 05:27PM

9
#98 - Jonathan Potter / @nTypeRed

11/12/2013 at 06:40PM

9
#99 - gary.klindt@googlema / @garstekli

11/14/2013 at 09:56PM

9
#100 - Daniel Marjenburgh / @dmarjenburgh

11/17/2013 at 01:53PM

9
#101 - Stefan Schmidt / @stafue

12/06/2013 at 10:24AM

9
#102 - wilddog64 / @chengkai318

12/17/2013 at 07:52PM

9
#103 - Petr Broz / @ipetrbroz

12/18/2013 at 09:15PM

9
#104 - Zach Kemp / @zvksf

12/19/2013 at 07:35PM

9
#105 - Joshua Appelman / @JoshuaAppelman

12/21/2013 at 09:23PM

9
#106 - Sam Burk / @smwbk

12/23/2013 at 03:26AM

9
#107 - pikaren / @REALpikaren

12/23/2013 at 03:49PM

9
#108 - Karun Ramakrishnan / @the_karun

12/26/2013 at 07:07AM

9
#109 - Yann Moisan / @YannMoisan

01/01/2014 at 07:29PM

9
#110 - Matt Parnell / @parnmattdev

01/02/2014 at 10:50PM

9
#111 - Robert Argeanton / @argeanton

01/06/2014 at 08:52AM

9
#112 - Fake Name / @The_Real_User

01/13/2014 at 12:45AM

9
#113 - Andreas Källberg / @Anka213

01/17/2014 at 06:03AM

9
#114 - Quota / @Quotad

01/21/2014 at 04:44PM

9
#115 - Alex Kunin / @alexkunin

02/02/2014 at 05:29PM

9
#116 - Michael Bitzi / @mibitzi

02/14/2014 at 09:46PM

9
#117 - Павел Шнель / @lic06397

02/15/2014 at 08:35AM

9
#118 - Chi Bong Ho / @chibongho

02/16/2014 at 02:47AM

9
#119 - Joonas Pihlajamaa / @jokkebk

02/21/2014 at 10:10PM

9
#120 - Dheeraj Sayala / @dheerosaur

02/25/2014 at 01:35PM