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
#451 - Craig Langford / @cllangfo

12/17/2016 at 06:22PM

13
#452 - Pierre Maoui / @p_maoui

12/19/2016 at 04:43PM

13
#453 - Peter Chynoweth / @pcchynoweth

12/22/2016 at 10:00PM

13
#454 - Alexey Filonenko / @BrightOne_LS

01/07/2017 at 08:31PM

13
#455 - Harsh Pareek / @harshhpareek

01/15/2017 at 08:23PM

13
#456 - racffee / @RacffedeRacffee

01/19/2017 at 01:42PM

13
#457 - setNull / @dadaojiemo

01/22/2017 at 03:31PM

13
#458 - Zhihong Liu / @pieapple03

02/03/2017 at 08:55AM

13
#459 - Frankie Liu / @pi31415629

02/06/2017 at 10:38AM

13
#460 - Tim Grebien / @tiggg

02/21/2017 at 01:31PM

13
#461 - hen don / @hendon112

02/26/2017 at 12:24PM

13
#462 - Vimgolf / @vimgolf987

02/27/2017 at 03:39AM

13
#463 - Nick Spoon / @be_the_spoon

03/11/2017 at 11:58AM

13
#464 - David Elliott / @david_b_elliott

03/11/2017 at 10:49PM

13
#465 - Ilya Shakirov / @aelaau

03/20/2017 at 08:52AM

13
#466 - Andreas Anderbach / @anderbacha

03/20/2017 at 03:01PM

13
#467 - Alex Subtle / @AlexSubtle

03/21/2017 at 01:37PM

13
#468 - Solomon / @Trugbildjaeger

03/30/2017 at 10:59PM

13
#469 - Michael Robinson / @laxdog

04/11/2017 at 12:54PM

13
#470 - Pekka / @avainasiakas

04/17/2017 at 07:21PM

13
#471 - Alex Linden / @alexwlinden1

04/17/2017 at 08:30PM

13
#472 - Akash Khan / @akash93

04/20/2017 at 10:50AM

13
#473 - Tom BP / @ThosBP

04/20/2017 at 12:13PM

13
#474 - Colby Hamilton / @ColbyHamilton5

04/20/2017 at 12:28PM

13
#475 - 梧桐王子 / @WutongYujie

04/24/2017 at 03:46AM

13
#476 - Chris Robertson / @chrisxrobertson

05/01/2017 at 02:18AM

13
#477 - ЯRicardo / @TresErresCo

05/19/2017 at 04:17AM

13
#478 - Ming Dai / @MingDai2

05/21/2017 at 06:38PM

13
#479 - David / @Revan4Vendetta

05/25/2017 at 02:09PM

13
#480 - Tomas Sikula / @tomsmicroblog

05/27/2017 at 10:13AM