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 3036 remaining solutions by signing in and submitting your own entry
#3037 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

3037 active golfers, 10388 entries

Leaderboard (lowest score wins):
14
#601 - James Wickett / @wickett

12/29/2010 at 10:08PM

14
#602 - Mike Plotz / @antisuji

12/29/2010 at 11:41PM

14
#603 - Jacob Miller / @pwnies

12/29/2010 at 11:48PM

14
#604 - Adam Pohorecki / @apohorecki

12/30/2010 at 12:31AM

14
#605 - Akira Matsuda / @a_matsuda

12/30/2010 at 01:30AM

14
#606 - Ricardo Mendes / @locks

12/30/2010 at 03:29AM

14
#607 - Pierre / @Pihour

12/30/2010 at 05:34AM

14
#608 - Brad / @bjjwillis

12/30/2010 at 07:25AM

14
#609 - Takayuki Tsukitani / @tsukkee

12/30/2010 at 07:33AM

14
#610 -  Ikhsan Maulana / @ixandidu

12/30/2010 at 08:14AM

14
#611 - Benoit D / @Anbcorp

12/30/2010 at 09:20AM

14
#612 - Kornél Lugosi / @Coornail

12/30/2010 at 10:10AM

14
#613 - Steve Morrow / @yawmark

12/30/2010 at 02:01PM

14
#614 - david ta / @tadavid

12/30/2010 at 02:27PM

14
#615 - YB / @ybudowski

12/30/2010 at 03:14PM

14
#616 - h_east (トロッコ6個) / @h_east

12/30/2010 at 05:18PM

14
#617 - milkypostman / @milkypostman

12/30/2010 at 05:40PM

14
#618 - scott / @SetecAstronomy

12/30/2010 at 05:56PM

14
#619 - Douglas Stockwell / @dstockwell

12/30/2010 at 06:26PM

14
#620 - Danny Dulai / @dannydulai

12/30/2010 at 09:02PM

14
#621 - Alain Gilbert / @alain_gilbert

12/30/2010 at 09:37PM

14
#622 - Amir Hedayaty / @hedayaty

12/31/2010 at 12:47AM

14
#623 - greg / @kongo2002

12/31/2010 at 12:55AM

14
#624 - ninereeds / @ninereeds

12/31/2010 at 03:13AM

14
#625 - Dmytro Shteflyuk / @kpumuk

12/31/2010 at 03:38AM

14
#626 - Brandon Ferguson / @bnferguson

12/31/2010 at 04:06AM

14
#627 - Brian Buckley / @bbuckley

12/31/2010 at 05:05AM

14
#628 - jacobangel / @jacobangel

12/31/2010 at 05:14AM

14
#629 - lionel young / @lionelyoung

12/31/2010 at 05:16AM

14
#630 - Tony Hillerson / @thillerson

12/31/2010 at 06:06AM