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

3099 active golfers, 10600 entries

Leaderboard (lowest score wins):
14
#961 - A / @Tower_1980

07/29/2013 at 01:44PM

14
#962 - Peter Johannson / @PeterJohannson

08/03/2013 at 11:49AM

14
#963 - Tallak Tveide / @tallakt

08/03/2013 at 09:26PM

14
#964 - Global Maquereau / @GlobalMaquereau

08/06/2013 at 07:10AM

14
#965 - James Zaghini / @jameszaghini

08/07/2013 at 11:30AM

14
#966 - cj / @cj01101

08/08/2013 at 12:55PM

14
#967 - dan baker / @danbaker_a

08/09/2013 at 07:32PM

14
#968 - Gdleon / @GdLe0n

08/10/2013 at 08:49AM

14
#969 - Michael LeCompte / @michaelslec

08/11/2013 at 11:39PM

14
#970 - Michael Coles / @gen_ale_drinker

08/12/2013 at 12:00PM

14
#971 - lastsseldon / @lastsseldon

08/18/2013 at 11:14AM

14
#972 - Jason Davidson / @aka_lingy

08/24/2013 at 10:22PM

14
#973 - Martin Rehfeld / @klickmich

08/27/2013 at 01:01PM

14
#974 - Inuka Jayasekera / @a_new_car

08/27/2013 at 06:57PM

14
#975 - Leif Bladt / @leifbladt

08/28/2013 at 09:35AM

14
#976 - Tony Han / @tony612_han

08/28/2013 at 03:07PM

14
#977 - Joshua Jamison / @cephus

08/30/2013 at 03:47PM

14
#978 - Arturo Escaip / @arturoescaip

09/01/2013 at 02:10AM

14
#979 - James / @Dronak

09/01/2013 at 03:37AM

14
#980 - Joey Twiddle / @joeytwiddle

09/01/2013 at 04:31PM

14
#981 - Bunwut Tson / @NbTson

09/01/2013 at 10:01PM

14
#982 - isayoldchap / @isayoldchap

09/02/2013 at 10:58AM

14
#983 - Elias Dorneles / @eliasdorneles

09/03/2013 at 03:32PM

14
#984 - hiroaki yasutomo / @kaminaly

09/05/2013 at 04:49PM

14
#985 - yaon / @yaon4

09/09/2013 at 10:00PM

14
#986 - Bjorn / @bjorn_248

09/11/2013 at 01:41PM

14
#987 - Andrew Crites / @ExplosionPills

09/11/2013 at 01:46PM

14
#988 - apof / @9pof

09/13/2013 at 08:30AM

14
#989 - Swing And A Miss / @DieByTheDie

09/16/2013 at 12:17PM

14
#990 - Hawk Newton / @hawknewton

09/17/2013 at 02:21AM