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

3189 active golfers, 10897 entries

Leaderboard (lowest score wins):
14
#991 - lastsseldon / @lastsseldon

08/18/2013 at 11:14AM

14
#992 - Jason Davidson / @aka_lingy

08/24/2013 at 10:22PM

14
#993 - Martin Rehfeld / @klickmich

08/27/2013 at 01:01PM

14
#994 - Inuka Jayasekera / @a_new_car

08/27/2013 at 06:57PM

14
#995 - Leif Bladt / @leifbladt

08/28/2013 at 09:35AM

14
#996 - Tony Han / @tony612_han

08/28/2013 at 03:07PM

14
#997 - Joshua Jamison / @cephus

08/30/2013 at 03:47PM

14
#998 - Arturo Escaip / @arturoescaip

09/01/2013 at 02:10AM

14
#999 - James / @Dronak

09/01/2013 at 03:37AM

14
#1000 - Joey Twiddle / @joeytwiddle

09/01/2013 at 04:31PM

14
#1001 - Bunwut Tson / @NbTson

09/01/2013 at 10:01PM

14
#1002 - isayoldchap / @isayoldchap

09/02/2013 at 10:58AM

14
#1003 - Elias Dorneles / @eliasdorneles

09/03/2013 at 03:32PM

14
#1004 - hiroaki yasutomo / @kaminaly

09/05/2013 at 04:49PM

14
#1005 - yaon / @yaon4

09/09/2013 at 10:00PM

14
#1006 - Bjorn / @bjorn_248

09/11/2013 at 01:41PM

14
#1007 - Andrew Crites / @ExplosionPills

09/11/2013 at 01:46PM

14
#1008 - apof / @9pof

09/13/2013 at 08:30AM

14
#1009 - Swing And A Miss / @DieByTheDie

09/16/2013 at 12:17PM

14
#1010 - Hawk Newton / @hawknewton

09/17/2013 at 02:21AM

14
#1011 - Hiroshi Funai / @hfunai

09/23/2013 at 02:29AM

14
#1012 - Alonso Torres / @alotor

09/23/2013 at 05:38PM

14
#1013 - Lee Jackson / @morphemass

09/23/2013 at 06:19PM

14
#1014 - Joe Kramer / @cozmorado

09/26/2013 at 04:59PM

14
#1015 - James T. Huggett / @Jmeshka

09/27/2013 at 10:50AM

14
#1016 - nona urbiz / @nospampleasemam

09/28/2013 at 06:21AM

14
#1017 - Fedor Stepanov / @yasorrat

09/28/2013 at 07:00PM

14
#1018 - Adam McLain / @adammclain

10/02/2013 at 09:38PM

14
#1019 - n.st / @0013901644043f9

10/04/2013 at 03:27AM

14
#1020 - aRkadeFR / @aRkadeFR

10/07/2013 at 07:13PM