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

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

3296 active golfers, 11231 entries

Solutions by @TheGazler:
13
#20 - Gary Rennie / @TheGazler

08/03/2011 at 03:32PM

14
#>795 - Gary Rennie / @TheGazler

08/03/2011 at 03:27PM

16
#>1908 - Gary Rennie / @TheGazler

08/03/2011 at 03:26PM

17
#>2091 - Gary Rennie / @TheGazler

08/03/2011 at 03:25PM

18
#>2295 - Gary Rennie / @TheGazler

08/03/2011 at 03:23PM

18
#>2295 - Gary Rennie / @TheGazler

08/03/2011 at 03:25PM

19
#>2403 - Gary Rennie / @TheGazler

08/03/2011 at 03:23PM

20
#>2474 - Gary Rennie / @TheGazler

08/03/2011 at 03:22PM

21
#>2555 - Gary Rennie / @TheGazler

08/03/2011 at 03:21PM

22
#>2625 - Gary Rennie / @TheGazler

08/03/2011 at 03:20PM

23
#>2688 - Gary Rennie / @TheGazler

08/03/2011 at 03:19PM

26
#>2855 - Gary Rennie / @TheGazler

08/03/2011 at 03:19PM

27
#>2918 - Gary Rennie / @TheGazler

08/03/2011 at 03:17PM

28
#>2959 - Gary Rennie / @TheGazler

08/03/2011 at 03:16PM

33
#>3088 - Gary Rennie / @TheGazler

08/03/2011 at 03:09PM

48
#>3213 - Gary Rennie / @TheGazler

08/03/2011 at 03:08PM