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

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

3810 active golfers, 13262 entries

Solutions by @lumoping:
13
#700 - 路磨平 / @lumoping

01/25/2024 at 07:34AM

13
#>700 - 路磨平 / @lumoping

01/25/2024 at 07:35AM

14
#>1994 - 路磨平 / @lumoping

01/25/2024 at 07:20AM

18
#>2738 - 路磨平 / @lumoping

01/25/2024 at 07:20AM

19
#>2821 - 路磨平 / @lumoping

01/25/2024 at 07:19AM

20
#>2914 - 路磨平 / @lumoping

01/25/2024 at 07:15AM

21
#>2997 - 路磨平 / @lumoping

01/25/2024 at 07:18AM

22
#>3058 - 路磨平 / @lumoping

01/25/2024 at 07:10AM

23
#>3148 - 路磨平 / @lumoping

01/25/2024 at 07:08AM

24
#>3200 - 路磨平 / @lumoping

01/25/2024 at 07:05AM

33
#>3560 - 路磨平 / @lumoping

01/25/2024 at 06:52AM

33
#>3560 - 路磨平 / @lumoping

01/25/2024 at 07:01AM