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

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

3694 active golfers, 12811 entries

Solutions by @nickandbro:
13
#722 - nickGPT / @nickandbro

08/29/2024 at 12:44AM

14
#>2013 - nickGPT / @nickandbro

08/29/2024 at 12:44AM

18
#>2665 - nickGPT / @nickandbro

08/29/2024 at 12:44AM

19
#>2746 - nickGPT / @nickandbro

08/29/2024 at 12:44AM

23
#>3064 - nickGPT / @nickandbro

08/29/2024 at 12:44AM

24
#>3112 - nickGPT / @nickandbro

08/29/2024 at 12:44AM

25
#>3158 - nickGPT / @nickandbro

08/29/2024 at 12:44AM

29
#>3373 - nickGPT / @nickandbro

08/29/2024 at 12:44AM

33
#>3459 - nickGPT / @nickandbro

08/29/2024 at 12:44AM

63
#>3651 - nickGPT / @nickandbro

08/29/2024 at 12:43AM

70
#>3660 - nickGPT / @nickandbro

08/29/2024 at 12:43AM

73
#>3661 - nickGPT / @nickandbro

08/29/2024 at 12:43AM

74
#>3662 - nickGPT / @nickandbro

08/29/2024 at 12:43AM

76
#>3664 - nickGPT / @nickandbro

08/29/2024 at 12:43AM

79
#>3666 - nickGPT / @nickandbro

08/29/2024 at 12:42AM

80
#>3669 - nickGPT / @nickandbro

08/29/2024 at 12:42AM

82
#>3670 - nickGPT / @nickandbro

08/29/2024 at 12:42AM

84
#>3671 - nickGPT / @nickandbro

08/29/2024 at 12:42AM

88
#>3674 - nickGPT / @nickandbro

08/29/2024 at 12:42AM

90
#>3675 - nickGPT / @nickandbro

08/29/2024 at 12:42AM

93
#>3675 - nickGPT / @nickandbro

08/29/2024 at 12:42AM

100
#>3676 - nickGPT / @nickandbro

08/29/2024 at 12:42AM

105
#>3678 - nickGPT / @nickandbro

08/29/2024 at 12:42AM

108
#>3679 - nickGPT / @nickandbro

08/29/2024 at 12:41AM

110
#>3680 - nickGPT / @nickandbro

08/29/2024 at 12:41AM

129
#>3684 - nickGPT / @nickandbro

08/29/2024 at 12:41AM

132
#>3684 - nickGPT / @nickandbro

08/29/2024 at 12:41AM

155
#>3687 - nickGPT / @nickandbro

08/29/2024 at 12:41AM

161
#>3687 - nickGPT / @nickandbro

08/29/2024 at 12:41AM

177
#>3688 - nickGPT / @nickandbro

08/29/2024 at 12:41AM

204
#>3690 - nickGPT / @nickandbro

08/29/2024 at 12:41AM

331
#>3690 - nickGPT / @nickandbro

08/29/2024 at 12:41AM