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 229 remaining solutions by signing in and submitting your own entry
#230 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

230 active golfers, 419 entries

Leaderboard (lowest score wins):
9
#31 - Joshua Draper / @JoshuaBDraper

07/21/2013 at 03:34PM

9
#32 - Michael Lemley / @audienceofnone

07/23/2013 at 08:05PM

9
#33 - Carl Shotwell / @carl_talks

07/23/2013 at 08:23PM

9
#34 - Kevin Etienne / @42__kevin

07/23/2013 at 10:45PM

9
#35 - Justin Le / @mstk

07/24/2013 at 07:30AM

9
#36 - Peter Lustig / @LustigPeter42

07/29/2013 at 09:38PM

9
#37 - Tullio Facchinetti / @toolleeo

07/30/2013 at 10:20AM

9
#38 - Kevin McGladdery / @run_kmc

07/31/2013 at 06:14PM

9
#39 - Tom Saeger / @tomsaeger

08/01/2013 at 07:10AM

9
#40 - Heath Patterson / @HeathPatterson

08/02/2013 at 05:27PM

9
#41 - Felix Stridsberg / @FelixStridsberg

08/03/2013 at 12:32PM

9
#42 - cj / @cj01101

08/03/2013 at 07:31PM

9
#43 - Peter Johannson / @PeterJohannson

08/03/2013 at 07:36PM

9
#44 - Laurent Brulet / @lbrulet

08/04/2013 at 01:11PM

9
#45 - Armand Halbert / @armandhalbert

08/08/2013 at 04:18PM

9
#46 - matthew / @mdespuits

08/09/2013 at 02:50PM

9
#47 - Gdleon / @GdLe0n

08/10/2013 at 09:28AM

9
#48 - retired account / @retired10072015

08/12/2013 at 10:18AM

9
#49 - Dan Harrington / @Dan1H1

08/13/2013 at 01:54AM

9
#50 - Przemysław Kamiński / @CXLII

08/13/2013 at 06:16AM

9
#51 - _ky_ / @ultimate_ky

08/13/2013 at 06:46AM

9
#52 - Mike West / @mwest67

08/13/2013 at 12:14PM

9
#53 - Michael / @mjs2600

08/14/2013 at 12:17AM

9
#54 - David Pathakjee / @DavidPathakjee

08/15/2013 at 04:05AM

9
#55 - @hauleth@hauleth.dev / @hauleth

08/15/2013 at 09:07PM

9
#56 - Chris Webb / @chriswebb_42

08/22/2013 at 10:44PM

9
#57 - Rémi Jézéquel / @Remjez

08/23/2013 at 01:55PM

9
#58 - Fontaine Kévin / @DotSlash974

08/24/2013 at 04:58PM

9
#59 - Barry Nichols / @Barry_Nichols

08/26/2013 at 06:04AM

9
#60 - Dan / @dan_winkler

08/28/2013 at 03:37AM