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 @Cadwallion:

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

3694 active golfers, 12811 entries

Solutions by @Cadwallion:
13
#7 - Andrew Nordman / @Cadwallion

05/29/2011 at 03:56AM

14
#>870 - Andrew Nordman / @Cadwallion

05/29/2011 at 03:53AM

16
#>2148 - Andrew Nordman / @Cadwallion

05/29/2011 at 03:44AM

17
#>2344 - Andrew Nordman / @Cadwallion

05/29/2011 at 03:41AM

18
#>2560 - Andrew Nordman / @Cadwallion

05/29/2011 at 03:40AM

20
#>2757 - Andrew Nordman / @Cadwallion

05/29/2011 at 03:36AM

21
#>2848 - Andrew Nordman / @Cadwallion

05/29/2011 at 03:35AM

23
#>2988 - Andrew Nordman / @Cadwallion

05/29/2011 at 03:30AM

25
#>3126 - Andrew Nordman / @Cadwallion

05/29/2011 at 03:17AM

26
#>3170 - Andrew Nordman / @Cadwallion

05/29/2011 at 03:15AM

27
#>3240 - Andrew Nordman / @Cadwallion

05/29/2011 at 02:33AM

28
#>3289 - Andrew Nordman / @Cadwallion

05/29/2011 at 02:30AM

33
#>3445 - Andrew Nordman / @Cadwallion

05/29/2011 at 02:27AM