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

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

3694 active golfers, 12811 entries

Solutions by @edward_gibbs:
13
#18 - Ed Gibbs / @edward_gibbs

08/02/2011 at 04:39AM

14
#>887 - Ed Gibbs / @edward_gibbs

08/02/2011 at 04:38AM

16
#>2150 - Ed Gibbs / @edward_gibbs

08/02/2011 at 04:37AM

18
#>2561 - Ed Gibbs / @edward_gibbs

08/02/2011 at 04:36AM

19
#>2680 - Ed Gibbs / @edward_gibbs

08/02/2011 at 04:35AM

20
#>2759 - Ed Gibbs / @edward_gibbs

08/02/2011 at 04:32AM

20
#>2759 - Ed Gibbs / @edward_gibbs

08/02/2011 at 04:33AM

21
#>2849 - Ed Gibbs / @edward_gibbs

08/02/2011 at 04:30AM

22
#>2926 - Ed Gibbs / @edward_gibbs

08/02/2011 at 04:29AM

23
#>2991 - Ed Gibbs / @edward_gibbs

08/02/2011 at 04:27AM

26
#>3172 - Ed Gibbs / @edward_gibbs

08/02/2011 at 04:25AM

28
#>3289 - Ed Gibbs / @edward_gibbs

08/02/2011 at 04:21AM

31
#>3407 - Ed Gibbs / @edward_gibbs

08/01/2011 at 03:16PM

31
#>3407 - Ed Gibbs / @edward_gibbs

08/01/2011 at 03:20PM

61
#>3642 - Ed Gibbs / @edward_gibbs

08/01/2011 at 03:15PM