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

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 3296 remaining solutions by signing in and submitting your own entry
#3297 M. C. / @mczerkawski - Score: 918 - 12/29/10 @ 09:07
k<Down><Down><Down><Right><Right><Right><Down><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right> <Left><Up><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right>i<Right> "Vi IMproved"<Down><Down><Down><Down><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Right><Up><Right><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Down><Left><BS><BS><BS><BS><BS><BS><BS><Del><Down><Down><Down><Down><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Down><Esc><Right><Down><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Up><Up><Up><Up><Left><Left><Left><Left><Left><Left><Left><Left><Left>o<BS><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left>i<BS>originally <Right><Right><Right><Right><Esc>:w<CR>:wq<CR>

0 comments


Created by: @igrigorik

3297 active golfers, 11232 entries

Leaderboard (lowest score wins):
73
#3271 - Jorge Gonzalez / @_J_Gonzalez

09/22/2018 at 07:12AM

74
#3272 - Bren McGuire / @brenquantum

03/11/2012 at 02:41PM

76
#3273 - Yu-Hsuan Li / @Walker_tw

12/21/2011 at 06:59AM

76
#3274 - shiva / @shivaenigma

01/16/2014 at 05:10PM

79
#3275 - Tom / @loadstar8one

01/24/2014 at 04:25AM

80
#3276 - Roland Siegbert / @RsCircus

02/08/2012 at 02:09PM

84
#3277 - matt_white / @matt_white

06/28/2012 at 01:01AM

85
#3278 - Sagar Rakshe / @sagarrakshe2

12/20/2013 at 02:56AM

85
#3279 - Peter Lustig / @germecon

01/29/2014 at 01:25PM

88
#3280 - Brandon Pittman / @brandonpittman

11/20/2013 at 08:43AM

95
#3281 - Anton Bobrov / @a_bobrov

08/08/2013 at 07:38PM

101
#3282 - Felipe Jaramillo F / @mrfelipe

04/01/2014 at 05:56AM

105
#3283 - James / @jamgood96

07/25/2013 at 11:47PM

108
#3284 - Bruno Lara Tavares / @bltavares

05/15/2011 at 04:14AM

110
#3285 - Boris Cosic / @bcosic

12/26/2013 at 11:44PM

112
#3286 - Pamela Ocampo / @pmocampo

07/11/2014 at 12:56AM

115
#3287 - Dan Paulus / @dan_paulus

12/29/2010 at 02:30PM

125
#3288 - chliu / @chliu

12/29/2010 at 06:07AM

129
#3289 - Alex Southgate / @fromagie

04/08/2011 at 12:25AM

147
#3290 - Nathan Bennett / @njbennett95

06/17/2019 at 10:11PM

162
#3291 - markup / @markup123

02/05/2014 at 04:13AM

178
#3292 - Pamela / @pamcdm

07/11/2014 at 02:10AM

204
#3293 - Bèr Kessels / @berkes

01/05/2011 at 05:00PM

362
#3294 - Tomer Lichtash / @tomerlichtash

01/10/2011 at 11:22AM

379
#3295 - Yank Huang / @Yanksch

07/03/2012 at 09:23AM

411
#3296 - e / @thestudygoddess

11/16/2020 at 06:09AM

918
#3297 - M. C. / @mczerkawski

12/29/2010 at 09:07AM