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

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

3567 active golfers, 12230 entries

Solutions by @dave_leblanc:
14
#752 - Dave LeBlanc / @dave_leblanc

01/01/2011 at 04:53AM

15
#>1951 - Dave LeBlanc / @dave_leblanc

01/01/2011 at 04:51AM

16
#>2052 - Dave LeBlanc / @dave_leblanc

01/01/2011 at 04:50AM

21
#>2747 - Dave LeBlanc / @dave_leblanc

01/01/2011 at 04:34AM

21
#>2747 - Dave LeBlanc / @dave_leblanc

01/01/2011 at 04:44AM

22
#>2822 - Dave LeBlanc / @dave_leblanc

01/01/2011 at 04:42AM

23
#>2885 - Dave LeBlanc / @dave_leblanc

01/01/2011 at 04:26AM

23
#>2885 - Dave LeBlanc / @dave_leblanc

01/01/2011 at 04:31AM

26
#>3062 - Dave LeBlanc / @dave_leblanc

01/01/2011 at 04:22AM

28
#>3178 - Dave LeBlanc / @dave_leblanc

01/01/2011 at 04:13AM

28
#>3178 - Dave LeBlanc / @dave_leblanc

01/01/2011 at 04:15AM

30
#>3264 - Dave LeBlanc / @dave_leblanc

01/01/2011 at 04:17AM

32
#>3312 - Dave LeBlanc / @dave_leblanc

01/01/2011 at 04:11AM