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
#571 - Matthew Rossman / @chimpman252

03/30/2019 at 11:07AM

13
#572 - . / @fislaqq

03/31/2019 at 12:45AM

13
#573 - Joseph A Shalabi / @JosephShalabi

04/03/2019 at 04:01PM

13
#574 - Dryvnt / @Dryvnt

04/04/2019 at 01:05PM

13
#575 - longB / @longB77353628

04/06/2019 at 11:05AM

13
#576 - Joel Eriksson / @OwariDa

04/08/2019 at 10:42PM

13
#577 - alekfed / @alek_fed

04/14/2019 at 08:03PM

13
#578 - tnagai / @tnagai

04/24/2019 at 05:56AM

13
#579 - Grant / @grant_7788

04/27/2019 at 02:06PM

13
#580 - EliTheCoder / @elithecoder

04/30/2019 at 02:57PM

13
#581 - Sherab Giovannini / @shaddycls

05/01/2019 at 11:00PM

13
#582 - David McDonald / @dmcdona

05/19/2019 at 04:29AM

13
#583 - Fiffy / @sr21486642

05/23/2019 at 07:25AM

13
#584 - popexizhi / @popexizhi

05/28/2019 at 12:00PM

13
#585 - Seunghun Lee / @earlbread

06/01/2019 at 10:45AM

13
#586 - Miłosz Łakomy / @foobar01123

06/10/2019 at 07:18AM

13
#587 - majo senf / @majo_senf

06/14/2019 at 01:22PM

13
#588 - John Herman Schwit / @JohnHermanSchwi

06/23/2019 at 06:37PM

13
#589 - Joe Fahnestock🌵 / @Joecupojoe

07/25/2019 at 08:09PM

13
#590 - majestic sloth / @SamLlama

08/11/2019 at 07:36AM

13
#591 - XiaoXiaoLui / @XiaoXiaoLui1

08/16/2019 at 04:01PM

13
#592 - Malcolm Sharpe / @blueblimpms

08/17/2019 at 08:38PM

13
#593 - Andrew Blokzyl / @linuxKd

08/30/2019 at 03:59PM

13
#594 - asfsef / @asfsef5

09/11/2019 at 10:48PM

13
#595 - Yannick Gladow / @y_gldw

09/17/2019 at 03:19PM

13
#596 - Viktor Styrud / @ViktorStyrud

10/02/2019 at 07:25AM

13
#597 - Sebastian / @diasitede

10/04/2019 at 03:13PM

13
#598 - vimgolfer / @vimgolfer7

10/11/2019 at 01:40PM

13
#599 - Tamás Kárándi / @tkarandi

10/19/2019 at 11:55AM

13
#600 - Mario Olofo / @mario_olofo

10/19/2019 at 11:10PM