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

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

3581 active golfers, 12290 entries

Solutions by @vimgolfer220902:
13
#676 - vimgolfer220902 / @vimgolfer220902

09/02/2022 at 01:41PM

13
#>676 - vimgolfer220902 / @vimgolfer220902

09/02/2022 at 01:42PM

13
#>676 - vimgolfer220902 / @vimgolfer220902

09/02/2022 at 02:17PM

14
#>1899 - vimgolfer220902 / @vimgolfer220902

09/02/2022 at 01:08PM

14
#>1924 - vimgolfer220902 / @vimgolfer220902

06/20/2023 at 01:01PM

15
#>2053 - vimgolfer220902 / @vimgolfer220902

09/02/2022 at 01:41PM

16
#>2229 - vimgolfer220902 / @vimgolfer220902

09/02/2022 at 01:06PM

17
#>2459 - vimgolfer220902 / @vimgolfer220902

09/02/2022 at 01:03PM

18
#>2576 - vimgolfer220902 / @vimgolfer220902

09/02/2022 at 01:04PM

28
#>3229 - vimgolfer220902 / @vimgolfer220902

09/02/2022 at 12:58PM

30
#>3302 - vimgolfer220902 / @vimgolfer220902

06/20/2023 at 01:00PM

48
#>3486 - vimgolfer220902 / @vimgolfer220902

09/02/2022 at 12:55PM

48
#>3486 - vimgolfer220902 / @vimgolfer220902

09/02/2022 at 12:57PM

120
#>3569 - vimgolfer220902 / @vimgolfer220902

06/20/2023 at 12:59PM