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
#391 - Patrick Cichon / @the_nQL

12/07/2015 at 07:22PM

13
#392 - Thomas McGinniss / @thom_bomb75

12/07/2015 at 10:23PM

13
#393 - Håken Lid / @haakenlid

12/27/2015 at 12:24AM

13
#394 - Saki Gw / @Sakigw

01/05/2016 at 09:01PM

13
#395 - Evgeny`s Kindle / @EvgenyKindle

01/08/2016 at 11:27AM

13
#396 - Roberto Carraretto / @robcarraretto

01/09/2016 at 08:03PM

13
#397 - Alan Kang / @alankang

01/10/2016 at 12:47AM

13
#398 - Robbert Brak / @robbertbrak

01/16/2016 at 04:39PM

13
#399 - Aleksey Zhidkov / @AlexeyZhidkov

01/18/2016 at 05:51AM

13
#400 - alcinos / @alcinos69

01/24/2016 at 11:05AM

13
#401 - Michael Buckley / @apolatg

02/13/2016 at 01:14AM

13
#402 - Mathias Andersson / @Wraul

02/13/2016 at 08:26PM

13
#403 - Thijs van den Anker / @thijsvdanker

02/14/2016 at 07:29PM

13
#404 - ben kavanagh / @bkava

02/19/2016 at 04:42AM

13
#405 - Jaron Hamlik / @jdhamlik

02/27/2016 at 03:46AM

13
#406 - Xiaocan Li / @XiaocanLi

02/28/2016 at 06:50PM

13
#407 - Hao Chen / @Chen_Hao

03/10/2016 at 05:25PM

13
#408 - 7r6a2l / @7r6a2l

03/23/2016 at 08:41PM

13
#409 - Dinesh Bhosale / @MrDineshBhosale

03/28/2016 at 08:45PM

13
#410 - CM Déjardin ن / @CMDej

04/08/2016 at 09:07AM

13
#411 - John Goes / @johnwgoes

05/04/2016 at 02:34AM

13
#412 - Victorien Lorcy / @LorcyVictorien

05/13/2016 at 02:42PM

13
#413 - yudera / @yudemente

05/25/2016 at 03:29AM

13
#414 - John Doe Sr. / @johndoe67890543

05/28/2016 at 12:48PM

13
#415 - Alexandre Lion / @lnalx

06/06/2016 at 12:36PM

13
#416 - Ameen P / @Ameen_P1

06/08/2016 at 04:32AM

13
#417 - Artūras Zakrevskis / @AZakrevskis

06/09/2016 at 11:49AM

13
#418 - Arijus / @argshook

06/09/2016 at 11:58AM

13
#419 - jan sos / @jann6373

06/12/2016 at 03:27PM

13
#420 - TaoChen / @632143592Tao

06/17/2016 at 06:15AM