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

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

3567 active golfers, 12233 entries

Solutions by @racc69:
13
#22 - Jason Then / @racc69

08/08/2011 at 01:44AM

13
#>22 - Jason Then / @racc69

08/08/2011 at 01:51AM

13
#>22 - Jason Then / @racc69

08/08/2011 at 01:54AM

14
#>853 - Jason Then / @racc69

08/08/2011 at 01:43AM

15
#>1952 - Jason Then / @racc69

08/08/2011 at 01:42AM

16
#>2065 - Jason Then / @racc69

08/08/2011 at 01:41AM

17
#>2259 - Jason Then / @racc69

08/08/2011 at 01:41AM

18
#>2469 - Jason Then / @racc69

08/08/2011 at 01:38AM

18
#>2469 - Jason Then / @racc69

08/08/2011 at 01:40AM

19
#>2587 - Jason Then / @racc69

08/08/2011 at 01:37AM

20
#>2666 - Jason Then / @racc69

08/08/2011 at 01:36AM

21
#>2753 - Jason Then / @racc69

08/08/2011 at 01:35AM

22
#>2828 - Jason Then / @racc69

08/08/2011 at 01:34AM

23
#>2893 - Jason Then / @racc69

08/08/2011 at 01:33AM

26
#>3069 - Jason Then / @racc69

08/08/2011 at 01:31AM

28
#>3184 - Jason Then / @racc69

08/08/2011 at 01:30AM