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):
85
#3721 - Sagar Rakshe / @sagarrakshe2

12/20/2013 at 02:56AM

85
#3722 - Peter Lustig / @germecon

01/29/2014 at 01:25PM

88
#3723 - Brandon Pittman / @brandonpittman

11/20/2013 at 08:43AM

90
#3724 - GE1S7 / @GE1S7

06/27/2024 at 11:01AM

95
#3725 - Anton Bobrov / @a_bobrov

08/08/2013 at 07:38PM

101
#3726 - Felipe Jaramillo F / @mrfelipe

04/01/2014 at 05:56AM

105
#3727 - James / @jamgood96

07/25/2013 at 11:47PM

108
#3728 - Bruno Lara Tavares / @bltavares

05/15/2011 at 04:14AM

110
#3729 - Boris Cosic / @bcosic

12/26/2013 at 11:44PM

112
#3730 - Pamela Ocampo / @pmocampo

07/11/2014 at 12:56AM

115
#3731 - Dan Paulus / @dan_paulus

12/29/2010 at 02:30PM

125
#3732 - chliu / @chliu

12/29/2010 at 06:07AM

129
#3733 - Alex Southgate / @fromagie

04/08/2011 at 12:25AM

142
#3734 - 김현욱 / @thunderbolt1248

04/21/2023 at 05:00PM

147
#3735 - Nathan Bennett / @njbennett95

06/17/2019 at 10:11PM

155
#3736 - Akira Taguchi / @akiratviit

05/05/2022 at 09:04AM

162
#3737 - markup / @markup123

02/05/2014 at 04:13AM

178
#3738 - Pamela / @pamcdm

07/11/2014 at 02:10AM

204
#3739 - Bèr Kessels / @berkes

01/05/2011 at 05:00PM

362
#3740 - Tomer Lichtash / @tomerlichtash

01/10/2011 at 11:22AM

379
#3741 - Yank Huang / @Yanksch

07/03/2012 at 09:23AM

411
#3742 - e / @thestudygoddess

11/16/2020 at 06:09AM

918
#3743 - M. C. / @mczerkawski

12/29/2010 at 09:07AM