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

2926 active golfers, 10007 entries

Leaderboard (lowest score wins):
13
#181 - Colin Sheaff / @selfsimilar

09/03/2013 at 02:57AM

13
#182 - dan riti / @danriti

09/04/2013 at 03:28PM

13
#183 - Amar Battulga / @amar_battulga

09/05/2013 at 01:24PM

13
#184 - Sam Green / @magpi_

09/11/2013 at 10:47PM

13
#185 - Stephen Drodge / @sjdrodge

09/22/2013 at 04:45AM

13
#186 - Grandy Nguyen / @GrandyNguyen

09/22/2013 at 05:06PM

13
#187 - Dary Merckens / @merckens

09/23/2013 at 03:39PM

13
#188 - prinz / @prinzdezibel

09/29/2013 at 07:03PM

13
#189 - Throw Away / @throwaway111111

10/01/2013 at 11:15PM

13
#190 - Devin Gray / @devinagray

10/03/2013 at 04:49AM

13
#191 - StarkHalo / @hellektor

10/07/2013 at 01:43AM

13
#192 - Travis Millott / @ritherz

10/10/2013 at 08:51PM

13
#193 - Marcin Sza / @coot_

10/10/2013 at 09:14PM

13
#194 - Ben Miller / @Nephi12Ben

10/13/2013 at 04:21AM

13
#195 - Trần Lê Anh Minh / @lekima

10/13/2013 at 05:41AM

13
#196 - Ben Pringle / @pringleben

10/21/2013 at 11:58PM

13
#197 - Monroe Walker / @monroewlkr

10/22/2013 at 05:46AM

13
#198 - Tzipan / @Tzipan

10/23/2013 at 11:34PM

13
#199 - Michael Perrone / @ThePerrone

10/24/2013 at 04:00PM

13
#200 - edyfox / @edyfox

10/25/2013 at 02:46AM

13
#201 - James O Smith / @josmith4242

10/25/2013 at 03:35AM

13
#202 - まっすー。 / @trapple

10/26/2013 at 05:32AM

13
#203 - Bradley M. Small / @BradleySmall

10/27/2013 at 03:14AM

13
#204 - Jack Z / @itszhou

10/29/2013 at 06:05AM

13
#205 - Michael / @thatDeitch

10/31/2013 at 04:28AM

13
#206 - Jonathan Potter / @nTypeRed

11/11/2013 at 05:31AM

13
#207 - Edgar Hipp / @EdgarHipp

11/14/2013 at 06:07PM

13
#208 - Matt Richards / @_tthew

11/17/2013 at 10:01PM

13
#209 - moo goo / @m00g000

11/19/2013 at 07:00PM

13
#210 - Rob Findley / @Rob_Findley

11/22/2013 at 02:50AM