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

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

3567 active golfers, 12233 entries

Solutions by @mikektung:
13
#140 - Mike K Tung / @mikektung

05/26/2013 at 05:03AM

14
#>1029 - Mike K Tung / @mikektung

05/26/2013 at 05:02AM

15
#>1960 - Mike K Tung / @mikektung

05/26/2013 at 05:01AM

16
#>2092 - Mike K Tung / @mikektung

05/26/2013 at 05:00AM

17
#>2294 - Mike K Tung / @mikektung

05/26/2013 at 04:59AM

18
#>2484 - Mike K Tung / @mikektung

05/26/2013 at 04:55AM

21
#>2764 - Mike K Tung / @mikektung

05/26/2013 at 04:53AM

21
#>2764 - Mike K Tung / @mikektung

05/26/2013 at 04:54AM

22
#>2834 - Mike K Tung / @mikektung

05/26/2013 at 04:50AM

23
#>2901 - Mike K Tung / @mikektung

05/26/2013 at 04:46AM

26
#>3082 - Mike K Tung / @mikektung

05/26/2013 at 04:43AM

27
#>3149 - Mike K Tung / @mikektung

05/26/2013 at 04:41AM

28
#>3196 - Mike K Tung / @mikektung

05/26/2013 at 04:40AM

31
#>3297 - Mike K Tung / @mikektung

05/26/2013 at 04:36AM

31
#>3297 - Mike K Tung / @mikektung

05/26/2013 at 04:38AM

33
#>3336 - Mike K Tung / @mikektung

05/26/2013 at 04:33AM

40
#>3417 - Mike K Tung / @mikektung

05/26/2013 at 04:29AM

42
#>3431 - Mike K Tung / @mikektung

05/26/2013 at 04:26AM

49
#>3475 - Mike K Tung / @mikektung

05/26/2013 at 04:23AM

54
#>3496 - Mike K Tung / @mikektung

05/26/2013 at 04:17AM