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

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

3624 active golfers, 12481 entries

Solutions by @adamgbell:
13
#123 - Adam Bell / @adamgbell

02/12/2013 at 08:38PM

14
#>1011 - Adam Bell / @adamgbell

02/12/2013 at 08:33PM

14
#>1011 - Adam Bell / @adamgbell

02/13/2013 at 03:50PM

15
#>1996 - Adam Bell / @adamgbell

02/12/2013 at 08:37PM

15
#>1996 - Adam Bell / @adamgbell

02/12/2013 at 08:37PM

16
#>2127 - Adam Bell / @adamgbell

02/12/2013 at 08:28PM

17
#>2330 - Adam Bell / @adamgbell

02/12/2013 at 08:24PM

18
#>2519 - Adam Bell / @adamgbell

02/12/2013 at 08:18PM

20
#>2716 - Adam Bell / @adamgbell

02/12/2013 at 08:13PM

23
#>2940 - Adam Bell / @adamgbell

02/12/2013 at 08:00PM

23
#>2940 - Adam Bell / @adamgbell

02/12/2013 at 08:11PM

25
#>3074 - Adam Bell / @adamgbell

02/12/2013 at 07:52PM

34
#>3403 - Adam Bell / @adamgbell

02/12/2013 at 08:07PM

43
#>3494 - Adam Bell / @adamgbell

02/12/2013 at 08:08PM

46
#>3511 - Adam Bell / @adamgbell

02/12/2013 at 07:23PM

50
#>3530 - Adam Bell / @adamgbell

02/12/2013 at 06:21PM

66
#>3585 - Adam Bell / @adamgbell

02/12/2013 at 06:05PM