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
#511 - thadeuszlay / @thadeuszlay

01/29/2018 at 07:22AM

13
#512 - Guirec CORBEL / @GuirecCorbel

02/27/2018 at 12:26AM

13
#513 - GreenPinguin / @GreenPinguin2

03/07/2018 at 04:52PM

13
#514 - Steven Petsche / @StevenPetsche

03/11/2018 at 08:28AM

13
#515 - Chris Sutton / @cs1379320

03/12/2018 at 04:15AM

13
#516 - Channing Chen / @jslgycm

03/27/2018 at 09:09AM

13
#517 - vimthrowaway / @vimgolf_throw

03/30/2018 at 06:14AM

13
#518 - ewalk153 / @ewalk153

03/31/2018 at 11:55PM

13
#519 - towc / @MateiCopot

04/02/2018 at 08:42AM

13
#520 - Pablo / @suspekt007

04/06/2018 at 03:07AM

13
#521 - amal / @cdsudama

04/13/2018 at 12:17PM

13
#522 - c0llision / @sh3llcode

04/13/2018 at 04:23PM

13
#523 - AndrzejWasowski@scholar.social 🌻 🕊️ / @AndrzejWasowski

04/24/2018 at 08:48AM

13
#524 - platypusDancing / @platypusDancing

04/26/2018 at 10:05PM

13
#525 - Victor Ashton / @victor_ashton

04/27/2018 at 12:19AM

13
#526 - Milan Ľudma / @turiec_

05/02/2018 at 10:58AM

13
#527 - golfer / @golfer30767399

05/04/2018 at 10:52PM

13
#528 - golfal / @golfal2

05/27/2018 at 05:13AM

13
#529 - Daniël De Koker / @daniel_koker

06/03/2018 at 03:20PM

13
#530 - STRIKER-san / @frstrikersan

06/05/2018 at 02:40PM

13
#531 - omrisarig / @omrisarig

06/08/2018 at 10:22AM

13
#532 - Dr Rev J. “I am not a bot!” Kirchartz, KSC, KHS / @JKirchartz

06/14/2018 at 01:18PM

13
#533 - eL Bunda / @elbund4

07/04/2018 at 11:38PM

13
#534 - Remus Dalrymple / @bornintheflames

07/08/2018 at 09:36PM

13
#535 - Francesco Sacchi / @depsir

07/16/2018 at 06:21PM

13
#536 - Gareth Miller / @CTingCTer

07/19/2018 at 07:58AM

13
#537 - Tachy / @Tachypsychique

07/20/2018 at 09:36AM

13
#538 - Artsiom Kashkou / @pochka15

07/26/2018 at 12:04PM

13
#539 - Andrew Peterson / @FungalRaincloud

07/27/2018 at 05:08AM

13
#540 - O / @O34721877

08/07/2018 at 11:32PM