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

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

3567 active golfers, 12230 entries

Solutions by @_weslly:
13
#90 - wes / @_weslly

07/15/2012 at 11:24PM

13
#>149 - wes / @_weslly

06/30/2013 at 08:30PM

13
#>274 - wes / @_weslly

06/06/2014 at 09:41PM

13
#>300 - wes / @_weslly

10/29/2014 at 09:53AM

14
#>943 - wes / @_weslly

07/15/2012 at 11:13PM

14
#>1577 - wes / @_weslly

09/20/2017 at 12:15PM

15
#>1954 - wes / @_weslly

07/15/2012 at 11:11PM

16
#>2083 - wes / @_weslly

07/15/2012 at 11:06PM

17
#>2274 - wes / @_weslly

07/15/2012 at 11:03PM

19
#>2591 - wes / @_weslly

07/15/2012 at 10:55PM

21
#>2757 - wes / @_weslly

07/15/2012 at 10:49PM

22
#>2830 - wes / @_weslly

07/15/2012 at 10:48PM

23
#>2895 - wes / @_weslly

07/15/2012 at 10:44PM

23
#>2900 - wes / @_weslly

06/30/2013 at 08:27PM

26
#>3071 - wes / @_weslly

07/15/2012 at 10:38PM

26
#>3071 - wes / @_weslly

07/15/2012 at 10:41PM

26
#>3090 - wes / @_weslly

10/29/2014 at 09:52AM

30
#>3272 - wes / @_weslly

07/15/2012 at 10:30PM