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 by @mcguire:

Unlock 9 remaining solutions by signing in and submitting your own entry
Created by: @igrigorik

3694 active golfers, 12811 entries

Solutions by @mcguire:
13
#561 - TimMcGuire / @mcguire

12/30/2018 at 03:13AM

14
#>1723 - TimMcGuire / @mcguire

12/30/2018 at 02:49AM

14
#>1833 - TimMcGuire / @mcguire

02/19/2020 at 03:39PM

17
#>2529 - TimMcGuire / @mcguire

02/19/2020 at 03:36PM

20
#>2824 - TimMcGuire / @mcguire

12/30/2018 at 02:48AM

23
#>3053 - TimMcGuire / @mcguire

02/19/2020 at 03:35PM

26
#>3218 - TimMcGuire / @mcguire

02/19/2020 at 03:34PM

27
#>3268 - TimMcGuire / @mcguire

12/30/2018 at 02:45AM

41
#>3546 - TimMcGuire / @mcguire

02/19/2020 at 03:33PM