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

0 comments


Created by: @wolever

242 active golfers, 558 entries

Leaderboard (lowest score wins):
6
#1 - Zion Park / @zionpark93

10/23/2023 at 12:17PM

6
#2 - John Braxler / @braxler

11/07/2023 at 09:23PM

6
#3 - Peppa Pig / @PeppaPi95550250

06/02/2024 at 08:07AM

6
#4 - Justin Choi / @Mcthecuber

07/03/2024 at 03:49PM

7
#5 - kana / @kana1

12/29/2010 at 06:44PM

7
#6 - Rémi Prévost / @remi

12/29/2010 at 06:58PM

7
#7 - Aaron Bull Schaefer / @elasticdog

12/29/2010 at 07:25PM

7
#8 - Matt Mendell / @mpmendell

12/29/2010 at 07:58PM

7
#9 - Austin Taylor / @austintaylor

12/29/2010 at 08:04PM

7
#10 - kuhout / @kuhout

12/29/2010 at 08:06PM

7
#11 - Adam Pohorecki / @apohorecki

12/29/2010 at 08:32PM

7
#12 - clint tseng / @cxlt

12/29/2010 at 08:59PM

7
#13 - Mike Plotz / @antisuji

12/29/2010 at 11:27PM

7
#14 - uuu / @uu59

12/30/2010 at 01:43AM

7
#15 - Matthew Draper / @_matthewd

12/30/2010 at 01:51AM

7
#16 - Ankit Shankar / @thelastnode

12/30/2010 at 09:52AM

7
#17 - Brad / @bjjwillis

12/30/2010 at 10:04AM

7
#18 - Benoit D / @Anbcorp

12/30/2010 at 03:43PM

7
#19 - Dhruva Sagar / @dhruvasagar

12/30/2010 at 05:19PM

7
#20 - Juan C. Muller / @juancmuller

12/31/2010 at 04:04AM

7
#21 - Balkoth / @_Balkoth_

12/31/2010 at 06:27PM

7
#22 - Joshua Flanagan / @jflanagan

12/31/2010 at 11:47PM

7
#23 - Lee Marlow / @lmarlow

01/01/2011 at 06:09AM

7
#24 - Pete Johns / @johnsyweb

01/02/2011 at 12:01PM

7
#25 - Pierre / @Pihour

01/02/2011 at 04:29PM

7
#26 - Clément Nodet / @clementnodet

01/03/2011 at 10:52PM

7
#27 - proglottis / @proglottis

01/06/2011 at 05:53AM

7
#28 - Wei Dai / @clvv42

01/06/2011 at 10:41AM

7
#29 - Ujjwol Lamichhane / @Ujjwol

01/06/2011 at 01:17PM

7
#30 - dominique pellé / @vimgolfisto

01/06/2011 at 11:28PM