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

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

3585 active golfers, 12304 entries

Solutions by @stefanlz:
15
#1971 - Stefan Leszkiewicz / @stefanlz

02/17/2013 at 02:48AM

16
#>2104 - Stefan Leszkiewicz / @stefanlz

06/16/2013 at 07:39AM

19
#>2616 - Stefan Leszkiewicz / @stefanlz

11/17/2013 at 12:05AM

22
#>2846 - Stefan Leszkiewicz / @stefanlz

02/17/2013 at 02:44AM

23
#>2912 - Stefan Leszkiewicz / @stefanlz

02/17/2013 at 02:43AM

26
#>3091 - Stefan Leszkiewicz / @stefanlz

02/17/2013 at 02:36AM

27
#>3162 - Stefan Leszkiewicz / @stefanlz

02/17/2013 at 02:40AM

28
#>3209 - Stefan Leszkiewicz / @stefanlz

02/17/2013 at 02:34AM

30
#>3291 - Stefan Leszkiewicz / @stefanlz

02/17/2013 at 02:30AM

30
#>3294 - Stefan Leszkiewicz / @stefanlz

11/17/2013 at 12:04AM

31
#>3312 - Stefan Leszkiewicz / @stefanlz

02/17/2013 at 02:21AM

31
#>3314 - Stefan Leszkiewicz / @stefanlz

11/17/2013 at 12:02AM

32
#>3333 - Stefan Leszkiewicz / @stefanlz

02/17/2013 at 02:17AM

32
#>3333 - Stefan Leszkiewicz / @stefanlz

06/16/2013 at 07:34AM

34
#>3371 - Stefan Leszkiewicz / @stefanlz

02/17/2013 at 02:13AM