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

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

3696 active golfers, 12815 entries

Solutions by @clabersmith:
14
#1516 - Charles Laber-Smith / @clabersmith

03/30/2016 at 04:45PM

14
#>1516 - Charles Laber-Smith / @clabersmith

03/30/2016 at 04:46PM

15
#>2105 - Charles Laber-Smith / @clabersmith

03/30/2016 at 04:44PM

16
#>2255 - Charles Laber-Smith / @clabersmith

03/30/2016 at 04:42PM

17
#>2473 - Charles Laber-Smith / @clabersmith

03/28/2016 at 04:58PM

18
#>2626 - Charles Laber-Smith / @clabersmith

03/23/2016 at 04:54PM

19
#>2719 - Charles Laber-Smith / @clabersmith

03/23/2016 at 04:52PM

20
#>2804 - Charles Laber-Smith / @clabersmith

03/23/2016 at 04:51PM

21
#>2888 - Charles Laber-Smith / @clabersmith

03/23/2016 at 04:49PM

21
#>2888 - Charles Laber-Smith / @clabersmith

03/23/2016 at 04:50PM

26
#>3206 - Charles Laber-Smith / @clabersmith

03/23/2016 at 04:40PM

27
#>3267 - Charles Laber-Smith / @clabersmith

03/23/2016 at 04:38PM

31
#>3419 - Charles Laber-Smith / @clabersmith

03/23/2016 at 01:22AM

31
#>3419 - Charles Laber-Smith / @clabersmith

03/23/2016 at 04:36PM