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

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

3298 active golfers, 11237 entries

Solutions by @asdaskdjn:
13
#10 - asdaskdjn / @asdaskdjn

06/08/2011 at 09:13PM

14
#>779 - asdaskdjn / @asdaskdjn

06/08/2011 at 09:11PM

15
#>1801 - asdaskdjn / @asdaskdjn

06/08/2011 at 09:11PM

16
#>1908 - asdaskdjn / @asdaskdjn

06/08/2011 at 09:10PM

17
#>2090 - asdaskdjn / @asdaskdjn

06/08/2011 at 09:01PM

17
#>2090 - asdaskdjn / @asdaskdjn

06/08/2011 at 09:09PM

17
#>2090 - asdaskdjn / @asdaskdjn

06/08/2011 at 09:09PM

18
#>2296 - asdaskdjn / @asdaskdjn

06/08/2011 at 09:01PM

20
#>2475 - asdaskdjn / @asdaskdjn

06/08/2011 at 08:59PM

21
#>2556 - asdaskdjn / @asdaskdjn

06/08/2011 at 08:58PM

22
#>2627 - asdaskdjn / @asdaskdjn

06/08/2011 at 08:57PM

24
#>2762 - asdaskdjn / @asdaskdjn

06/08/2011 at 08:57PM

25
#>2818 - asdaskdjn / @asdaskdjn

06/08/2011 at 08:56PM

26
#>2855 - asdaskdjn / @asdaskdjn

06/08/2011 at 08:54PM

27
#>2919 - asdaskdjn / @asdaskdjn

06/08/2011 at 08:54PM

29
#>3001 - asdaskdjn / @asdaskdjn

06/08/2011 at 08:53PM