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):
8
#151 - Dionysus / @user101user

06/16/2023 at 12:07AM

8
#152 - Sander Meij / @SanderMeij

06/11/2024 at 12:35PM

8
#153 - Elliot Schemmel / @regulated

10/23/2024 at 09:43PM

9
#154 - Tordek / @Tordek

12/29/2010 at 09:00PM

9
#155 - Sam Meacham / @evolr

12/29/2010 at 10:50PM

9
#156 - Josh Weinberg / @jcweinberg

12/29/2010 at 11:26PM

9
#157 - Henrik Nyh / @henrik

12/30/2010 at 12:36AM

9
#158 - Kornél Lugosi / @Coornail

12/30/2010 at 01:04AM

9
#159 - Steve Morrow / @yawmark

12/30/2010 at 06:19AM

9
#160 - Roland Crosby / @roooooland

12/30/2010 at 08:14AM

9
#161 - Lee Jarvis / @lee_jarvis

12/30/2010 at 10:36AM

9
#162 - Ben Lenarts / @benlenarts

12/30/2010 at 10:53AM

9
#163 - Behnam Esfahbod / @zwnj

12/30/2010 at 12:08PM

9
#164 - Marc Simonin / @TheGnorf

12/30/2010 at 12:28PM

9
#165 - NomadCoder / @nomadcoder

12/30/2010 at 04:19PM

9
#166 - Leonard Chin / @lchin

12/30/2010 at 04:36PM

9
#167 - Stephen Celis / @stephencelis

12/30/2010 at 05:03PM

9
#168 - bmaddy / @bmaddy

12/30/2010 at 07:06PM

9
#169 - Alain Gilbert / @alain_gilbert

12/30/2010 at 07:14PM

9
#170 - Denis Odorcic / @denisodorcic

12/30/2010 at 09:47PM

9
#171 - Yan / @yan

12/30/2010 at 09:53PM

9
#172 - Will Hardy / @whrde

12/30/2010 at 11:36PM

9
#173 - Tony Hillerson / @thillerson

12/31/2010 at 06:17AM

9
#174 - Vincent Isambart / @vincentisambart

01/01/2011 at 04:41AM

9
#175 - Casey W Crites / @caseycrites

01/01/2011 at 06:52AM

9
#176 - Asmund / @herrasbe

01/02/2011 at 07:05AM

9
#177 - Fer Enaf / @0x00C0FFEE

01/02/2011 at 10:28AM

9
#178 - Ashish Narasimham / @asheeshkabob

01/02/2011 at 08:40PM

9
#179 - Kris Jenkins / @krisajenkins

01/02/2011 at 11:25PM

9
#180 - Kyle Willmon / @kylewillmon

01/03/2011 at 06:33AM