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

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

3344 active golfers, 11381 entries

Solutions by @Gaston53635525:
13
#652 - Gaston / @Gaston53635525

01/23/2021 at 10:37PM

14
#>1818 - Gaston / @Gaston53635525

01/23/2021 at 10:34PM

15
#>1917 - Gaston / @Gaston53635525

01/23/2021 at 10:33PM

19
#>2492 - Gaston / @Gaston53635525

01/23/2021 at 10:31PM

20
#>2579 - Gaston / @Gaston53635525

01/23/2021 at 10:27PM

24
#>2839 - Gaston / @Gaston53635525

01/23/2021 at 10:22PM

26
#>2941 - Gaston / @Gaston53635525

01/23/2021 at 10:19PM

30
#>3094 - Gaston / @Gaston53635525

01/23/2021 at 10:17PM

39
#>3209 - Gaston / @Gaston53635525

01/23/2021 at 10:12PM

41
#>3221 - Gaston / @Gaston53635525

01/23/2021 at 10:10PM

44
#>3240 - Gaston / @Gaston53635525

01/23/2021 at 10:08PM

51
#>3269 - Gaston / @Gaston53635525

01/23/2021 at 10:03PM

82
#>3323 - Gaston / @Gaston53635525

01/23/2021 at 10:00PM

90
#>3327 - Gaston / @Gaston53635525

01/23/2021 at 09:58PM