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

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

3567 active golfers, 12233 entries

Solutions by @scott_royston:
13
#159 - scott_royston / @scott_royston

08/01/2013 at 05:21AM

14
#>1064 - scott_royston / @scott_royston

08/01/2013 at 05:18AM

16
#>2099 - scott_royston / @scott_royston

08/01/2013 at 05:17AM

17
#>2296 - scott_royston / @scott_royston

08/01/2013 at 05:15AM

21
#>2767 - scott_royston / @scott_royston

08/01/2013 at 05:08AM

22
#>2835 - scott_royston / @scott_royston

08/01/2013 at 03:03AM

23
#>2901 - scott_royston / @scott_royston

08/01/2013 at 02:58AM

27
#>3149 - scott_royston / @scott_royston

08/01/2013 at 02:54AM

32
#>3317 - scott_royston / @scott_royston

08/01/2013 at 02:53AM

34
#>3355 - scott_royston / @scott_royston

08/01/2013 at 02:51AM

36
#>3373 - scott_royston / @scott_royston

08/01/2013 at 02:47AM

36
#>3373 - scott_royston / @scott_royston

08/01/2013 at 02:50AM

37
#>3382 - scott_royston / @scott_royston

08/01/2013 at 02:44AM

43
#>3443 - scott_royston / @scott_royston

08/01/2013 at 02:38AM

58
#>3514 - scott_royston / @scott_royston

08/01/2013 at 02:32AM

61
#>3520 - scott_royston / @scott_royston

08/01/2013 at 02:30AM