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

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

3590 active golfers, 12327 entries

Solutions by @shahanavazm:
14
#1892 - shahanavaz m / @shahanavazm

04/02/2022 at 10:34PM

16
#>2234 - shahanavaz m / @shahanavazm

04/02/2022 at 10:32PM

17
#>2463 - shahanavaz m / @shahanavazm

04/02/2022 at 10:31PM

17
#>2467 - shahanavaz m / @shahanavazm

02/13/2024 at 04:27AM

17
#>2467 - shahanavaz m / @shahanavazm

02/20/2024 at 06:39PM

17
#>2467 - shahanavaz m / @shahanavazm

03/07/2024 at 07:36PM

17
#>2467 - shahanavaz m / @shahanavazm

03/23/2024 at 05:58PM

18
#>2588 - shahanavaz m / @shahanavazm

04/05/2024 at 03:54PM

19
#>2668 - shahanavaz m / @shahanavazm

03/23/2024 at 05:54PM

19
#>2668 - shahanavaz m / @shahanavazm

03/27/2024 at 04:07AM

20
#>2753 - shahanavaz m / @shahanavazm

02/19/2022 at 01:17AM

20
#>2753 - shahanavaz m / @shahanavazm

02/19/2022 at 01:23AM

22
#>2892 - shahanavaz m / @shahanavazm

02/01/2024 at 02:18AM

23
#>2977 - shahanavaz m / @shahanavazm

02/19/2022 at 01:14AM

25
#>3071 - shahanavaz m / @shahanavazm

03/31/2022 at 04:19AM

25
#>3074 - shahanavaz m / @shahanavazm

03/23/2024 at 05:54PM

27
#>3187 - shahanavaz m / @shahanavazm

02/12/2022 at 04:33AM

27
#>3190 - shahanavaz m / @shahanavazm

01/16/2024 at 08:33PM

27
#>3190 - shahanavaz m / @shahanavazm

01/16/2024 at 08:34PM

27
#>3190 - shahanavaz m / @shahanavazm

01/24/2024 at 04:45AM

28
#>3236 - shahanavaz m / @shahanavazm

02/12/2022 at 04:27AM

28
#>3242 - shahanavaz m / @shahanavazm

04/06/2024 at 03:17AM

41
#>3451 - shahanavaz m / @shahanavazm

02/13/2024 at 02:30AM