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

Simple text editing with Vim

Make the pairs of lines match up by making each second line same as first

Start file
Make the pairs of lines match up by making each second line same as first:

# Appending text:
The name "Vim" is an acronym for "Vi IMproved"
The name "Vim" is an acronym for

# Editing text:
Vim is a text editor originally released by Bram Moolenaar in 1991 for the Amiga
Trivia: Vim is a text editor released by Bram Moolenaar in 1991 for the Amiga

# Deleting text:
Vim has a vi compatibility mode
Vim has a vi compatibility mode but when not in this mode Vim has many enhancements over vi
End file
Make the pairs of lines match up by making each second line same as first:

# Appending text:
The name "Vim" is an acronym for "Vi IMproved"
The name "Vim" is an acronym for "Vi IMproved"

# Editing text:
Vim is a text editor originally released by Bram Moolenaar in 1991 for the Amiga
Vim is a text editor originally released by Bram Moolenaar in 1991 for the Amiga

# Deleting text:
Vim has a vi compatibility mode
Vim has a vi compatibility mode

View Diff

5c5
< The name "Vim" is an acronym for
---
> The name "Vim" is an acronym for "Vi IMproved"
9c9
< Trivia: Vim is a text editor released by Bram Moolenaar in 1991 for the Amiga
---
> Vim is a text editor originally released by Bram Moolenaar in 1991 for the Amiga
13c13
< Vim has a vi compatibility mode but when not in this mode Vim has many enhancements over vi
---
> Vim has a vi compatibility mode

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 3742 remaining solutions by signing in and submitting your own entry
Created by: @igrigorik

3743 active golfers, 13012 entries

Leaderboard (lowest score wins):
13
#211 - Casper Christensen / @Casper__C

11/26/2013 at 12:44PM

13
#212 - digitalronin / @digitalronin

12/07/2013 at 01:32PM

13
#213 - Bill Gates / @BillGat80055899

12/07/2013 at 10:09PM

13
#214 - Paul Liu / @automorphism

12/17/2013 at 05:22PM

13
#215 - Andrew O'Neill / @AndroidOatmeal

12/17/2013 at 05:27PM

13
#216 - dfleischman / @dfleischman

12/18/2013 at 04:38AM

13
#217 - Jacob Niehus / @wilywampa

12/18/2013 at 04:52AM

13
#218 - Sebastian Morr / @blinry

12/18/2013 at 01:56PM

13
#219 - Nicolas Ouellet / @ashlebede

12/20/2013 at 04:03AM

13
#220 - ynwsoft / @ynwsoft

12/20/2013 at 10:44AM

13
#221 - Joshua Appelman / @JoshuaAppelman

12/20/2013 at 08:30PM

13
#222 - chilicuil / @chilicuil

12/27/2013 at 09:05AM

13
#223 - WC / @WcMmatvienko

12/30/2013 at 03:43AM

13
#224 - Herrington Darkholme / @nonamesheep

12/31/2013 at 07:57AM

13
#225 - Travis Rodman / @TravisRodman

01/07/2014 at 07:07AM

13
#226 - oliver mueller / @marcontwit

01/08/2014 at 03:26PM

13
#227 - John / @BerlinSchneider

01/14/2014 at 08:02AM

13
#228 - alexscott / @4l3xsc0tt

01/15/2014 at 02:48PM

13
#229 - 黒猫 / @darkfeline

01/17/2014 at 11:00AM

13
#230 - hcvst / @hcvst

01/18/2014 at 09:32AM

13
#231 - Daniel Jonsson / @DanielJonss

01/21/2014 at 03:51PM

13
#232 - Stanislav Yaglo / @NSMutablePerson

01/26/2014 at 10:30PM

13
#233 - Pete Gadomski / @petegadomski

01/28/2014 at 11:15PM

13
#234 - Jakob Lundberg / @JakobLundberg

01/30/2014 at 02:39PM

13
#235 - Roger Spencer / @RojSpencer

02/02/2014 at 12:16AM

13
#236 - Ali El Amine / @Allouch95

02/02/2014 at 10:45AM

13
#237 - John Phelan / @jackphel

02/02/2014 at 07:09PM

13
#238 - Jonathan Ellington / @JEllington90

02/02/2014 at 07:52PM

13
#239 - Patrick M. Regan / @rubbsdecvik

02/03/2014 at 02:52AM

13
#240 - grey wolfs / @grey_wolfs

02/03/2014 at 06:27AM