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

Context insensitive completion 0

Buried in the lines you're not supposed to add is the line "Add this line!" Add that line to the top of the file.

Start file
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Add this line!
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
End file
Add this line!
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Add this line!
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.
Do not add this line.

View Diff

0a1
> Add this line!

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 245 remaining solutions by signing in and submitting your own entry
#246 Josh Gilmour / @joshgilmour - Score: 24 - 12/29/10 @ 19:17
iAdd this line!<CR><Esc>:wq<CR>

0 comments


Created by: @wolever

246 active golfers, 577 entries

Leaderboard (lowest score wins):
7
#31 - Tim Chase / @gumnos

01/07/2011 at 11:47PM

7
#32 - Douglas Stockwell / @dstockwell

01/08/2011 at 08:42PM

7
#33 - derp derp / @derp__

01/09/2011 at 03:25AM

7
#34 - Toto l'haricot / @nico_le_terribl

01/09/2011 at 12:05PM

7
#35 - aimee / @sermoa

01/09/2011 at 04:26PM

7
#36 - duckdalbe / @duckdalbe

01/14/2011 at 12:19PM

7
#37 - h_east (トロッコ6個) / @h_east

01/16/2011 at 09:05AM

7
#38 - Federico Galassi / @federicogalassi

01/17/2011 at 10:16AM

7
#39 - Oleg Roshupkin / @jjjahson

01/20/2011 at 01:34PM

7
#40 - xhtmlforum / @xhtmlforum

01/25/2011 at 03:11PM

7
#41 - vg / @vimgolfer

01/27/2011 at 10:56AM

7
#42 - Wesley Wong / @wesleymwwong

01/30/2011 at 10:45AM

7
#43 - Pavlo Klets / @p01nt

03/19/2011 at 08:59AM

7
#44 - Shawn / @sartak

04/23/2011 at 07:26PM

7
#45 - Emile Swarts / @EmileSwarts

04/25/2011 at 12:26PM

7
#46 - Dragan Cvetinovic / @kawkafi

05/22/2011 at 06:19PM

7
#47 - Utkarsh Kukreti / @utkarshkukreti

05/26/2011 at 11:37PM

7
#48 - Hartator / @Hartator

05/27/2011 at 11:15AM

7
#49 - 0rca / @0rca

05/28/2011 at 03:07PM

7
#50 - icdark / @icdark

05/30/2011 at 09:32AM

7
#51 - Justin Love / @wondible

06/16/2011 at 02:42AM

7
#52 - not so punk :] / @notsopunk

06/19/2011 at 11:55AM

7
#53 - Øystein Walle / @oysteinwalle

07/12/2011 at 03:13PM

7
#54 - Sammasati / @sammasati0

07/16/2011 at 04:58PM

7
#55 - Junfeng / @junfeng

07/18/2011 at 07:53AM

7
#56 - Dave / @zzdave13

07/31/2011 at 02:29PM

7
#57 - David / @dpa_92

08/02/2011 at 12:06PM

7
#58 - Andrey Ivanov / @Bytamine

08/11/2011 at 03:45PM

7
#59 - p0ckets / @p0ckets

10/06/2011 at 08:37PM

7
#60 - Joe Fredette / @jfredett

10/08/2011 at 11:56PM