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

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

3567 active golfers, 12233 entries

Solutions by @charlymul:
13
#274 - Charlene Tshos / @charlymul

06/03/2014 at 10:22AM

14
#>1018 - Charlene Tshos / @charlymul

04/24/2013 at 02:42PM

14
#>1020 - Charlene Tshos / @charlymul

04/25/2013 at 02:34PM

14
#>1121 - Charlene Tshos / @charlymul

11/04/2013 at 03:49PM

20
#>2682 - Charlene Tshos / @charlymul

04/10/2013 at 03:40AM

20
#>2682 - Charlene Tshos / @charlymul

04/10/2013 at 03:41AM

20
#>2682 - Charlene Tshos / @charlymul

04/24/2013 at 02:40PM

21
#>2763 - Charlene Tshos / @charlymul

04/11/2013 at 12:25PM

23
#>2901 - Charlene Tshos / @charlymul

04/10/2013 at 03:37AM

25
#>3032 - Charlene Tshos / @charlymul

04/09/2013 at 06:15PM

25
#>3032 - Charlene Tshos / @charlymul

04/09/2013 at 06:15PM

25
#>3032 - Charlene Tshos / @charlymul

04/10/2013 at 03:35AM

26
#>3079 - Charlene Tshos / @charlymul

04/09/2013 at 06:05PM

26
#>3079 - Charlene Tshos / @charlymul

04/10/2013 at 03:33AM

27
#>3149 - Charlene Tshos / @charlymul

04/10/2013 at 03:31AM

30
#>3275 - Charlene Tshos / @charlymul

04/09/2013 at 05:31PM

30
#>3275 - Charlene Tshos / @charlymul

04/09/2013 at 06:14PM

142
#>3557 - Charlene Tshos / @charlymul

04/09/2013 at 02:27PM