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
#121 - TimWolla / @TimWolla

03/13/2014 at 09:45PM

9
#122 - John Braxler / @braxler

03/26/2014 at 04:15PM

9
#123 - Lance Levine / @LanceSMLevine

04/02/2014 at 05:15AM

9
#124 - Felipe Jaramillo F / @mrfelipe

04/05/2014 at 02:23PM

9
#125 - RB / @powerage88

04/07/2014 at 09:41PM

9
#126 - Felipe Spychalski / @fspychalski

04/09/2014 at 05:05PM

9
#127 - onthos / @onthos_

04/25/2014 at 11:33AM

9
#128 - Solar Powered Robot / @moskrin

05/01/2014 at 01:26PM

9
#129 - Anthony Robson / @anthonyrobson9

05/05/2014 at 01:52AM

9
#130 - Tom Cammann / @tea_sea

05/12/2014 at 04:30PM

9
#131 - Hyper Bovine / @hyperbovine

05/12/2014 at 05:26PM

9
#132 - Jay Phillips / @rocketman8473

06/23/2014 at 05:15AM

9
#133 - John Meisner / @jmeisned

06/26/2014 at 05:55PM

9
#134 - playalong / @playwithit42

07/09/2014 at 11:13AM

9
#135 - magizbox / @rain_1024

07/13/2014 at 04:25AM

9
#136 - Ram Tamtam / @ramtamtamtam

07/16/2014 at 02:06PM

9
#137 - Patrick Pitoscia / @Patrick03960431

08/09/2014 at 04:43PM

9
#138 - bratliff / @bratliff

08/10/2014 at 06:42AM

9
#139 - Tj / @yrddy

08/19/2014 at 03:31AM

9
#140 - kemar / @le_kemar

08/29/2014 at 11:10AM

9
#141 - Eric Kever / @codeoverlode

09/30/2014 at 04:02AM

9
#142 - Dario Avitabile / @tutticapaci

09/30/2014 at 10:05AM

9
#143 - Jose Gutierrez / @Jogusa

10/22/2014 at 03:23PM

9
#144 - r. / @rmarvie

12/20/2014 at 01:55PM

9
#145 - Adam Redfern / @AdmRedfern

12/23/2014 at 09:26AM

9
#146 - Carlos A HenrĂ­quez Q / @lagunex

01/19/2015 at 12:51PM

9
#147 - SilentFl / @Silent_Fl

02/05/2015 at 09:06AM

9
#148 - pftb12345 / @pftb12345

04/11/2015 at 01:53PM

9
#149 - Clark DuVall / @theclarkatron

05/22/2015 at 05:05AM

9
#150 - Jack Z / @itszhou

06/28/2015 at 09:06PM