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
#481 - Anthony George / @Xanuthatusu

06/14/2017 at 09:36PM

13
#482 - Joel Meyer-Hamme / @JoelMeyerHamme

06/20/2017 at 09:10PM

13
#483 - GeneralSunbear / @GeneralSunbear

06/26/2017 at 06:19PM

13
#484 - akanb / @GAkt6L6SlKhy8zA

06/28/2017 at 04:16AM

13
#485 - Bennett Bernardoni / @BBernardoni

06/28/2017 at 08:22PM

13
#486 - Adrian Englhardt / @_englhardt

07/05/2017 at 12:03PM

13
#487 - Jon Barker / @j0nbarker

07/16/2017 at 10:45PM

13
#488 - huho / @huho_xu

07/29/2017 at 11:44PM

13
#489 - godot / @gclair80

08/13/2017 at 02:22PM

13
#490 - Terry Ding / @TerryDing77

08/23/2017 at 07:39PM

13
#491 - Markus / @dayshade_7

08/28/2017 at 02:34PM

13
#492 - Darren Weston / @dazWestonUK

08/30/2017 at 07:27PM

13
#493 - bazkila@gmail.com / @bazkila

09/02/2017 at 08:43AM

13
#494 - zava / @znl1087

09/04/2017 at 03:58PM

13
#495 - BarbaJol / @drpproteus

09/16/2017 at 11:55AM

13
#496 - F / @gofilby

09/26/2017 at 09:15PM

13
#497 - herbage / @herbage2

10/04/2017 at 10:41AM

13
#498 - Brian Vodicka / @BrianVodicka2

10/07/2017 at 10:35PM

13
#499 - Charlie OConor / @charlieoconor

10/14/2017 at 03:12AM

13
#500 - Turkey Man / @lvturkeyman

11/08/2017 at 06:15AM

13
#501 - じごくのたまねぎ / @namasutedesyo

11/12/2017 at 01:18PM

13
#502 - Stephen Betts / @stephenbetts

11/14/2017 at 05:31PM

13
#503 - Milo Cress / @CressMilo

11/19/2017 at 07:20PM

13
#504 - Joe Schmoe / @yeroc1nil

11/25/2017 at 08:51PM

13
#505 - Henrique Malheiro / @rike09

12/08/2017 at 02:20AM

13
#506 - Sage san / @sagesancast

12/20/2017 at 03:15PM

13
#507 - leroy / @leroyalien

12/30/2017 at 11:44PM

13
#508 - Edward / @GLineEdward

01/01/2018 at 02:27PM

13
#509 - Alphonse Mariya / @alfunx

01/08/2018 at 09:27PM

13
#510 - ParasamGateZero / @ParasamGateZero

01/15/2018 at 05:14AM