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

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

3316 active golfers, 11292 entries

Solutions by @ccondon:
13
#54 - Calvin Condon / @ccondon

01/30/2012 at 02:40AM

13
#>54 - Calvin Condon / @ccondon

01/30/2012 at 02:46AM

14
#>839 - Calvin Condon / @ccondon

01/30/2012 at 02:12AM

15
#>1814 - Calvin Condon / @ccondon

01/30/2012 at 02:36AM

16
#>1935 - Calvin Condon / @ccondon

01/30/2012 at 02:08AM

16
#>1935 - Calvin Condon / @ccondon

01/30/2012 at 02:11AM

17
#>2115 - Calvin Condon / @ccondon

01/30/2012 at 02:06AM

18
#>2313 - Calvin Condon / @ccondon

01/30/2012 at 02:03AM

21
#>2573 - Calvin Condon / @ccondon

01/30/2012 at 02:01AM

22
#>2643 - Calvin Condon / @ccondon

01/30/2012 at 01:27AM

22
#>2643 - Calvin Condon / @ccondon

01/30/2012 at 01:58AM

22
#>2643 - Calvin Condon / @ccondon

01/30/2012 at 02:00AM

23
#>2707 - Calvin Condon / @ccondon

01/30/2012 at 01:25AM

33
#>3109 - Calvin Condon / @ccondon

01/30/2012 at 01:24AM

36
#>3148 - Calvin Condon / @ccondon

01/30/2012 at 01:22AM

40
#>3185 - Calvin Condon / @ccondon

01/30/2012 at 01:19AM

43
#>3208 - Calvin Condon / @ccondon

01/30/2012 at 01:17AM

46
#>3221 - Calvin Condon / @ccondon

01/30/2012 at 01:09AM

53
#>3245 - Calvin Condon / @ccondon

01/30/2012 at 01:01AM

70
#>3288 - Calvin Condon / @ccondon

01/30/2012 at 12:58AM