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

3418 active golfers, 11657 entries

Leaderboard (lowest score wins):
14
#721 - Casey W Crites / @caseycrites

12/31/2010 at 10:59PM

14
#722 - Will Gray / @graywh

01/01/2011 at 12:56AM

14
#723 - Erik F. Kastner / @kastner

01/01/2011 at 03:34AM

14
#724 - fukamikaze / @fukamikaze

01/01/2011 at 04:05AM

14
#725 - Dave LeBlanc / @dave_leblanc

01/01/2011 at 04:53AM

14
#726 - kmymtksh / @kmymtksh

01/01/2011 at 10:23AM

14
#727 - vg 47 / @vg47

01/01/2011 at 01:35PM

14
#728 - Matthew Draper / @_matthewd

01/01/2011 at 03:27PM

14
#729 - eban / @eban

01/01/2011 at 03:37PM

14
#730 - derp derp / @derp__

01/01/2011 at 10:28PM

14
#731 - Jon Ferrer / @jonnyheadphones

01/02/2011 at 02:35AM

14
#732 - wyl rof / @wylrof

01/02/2011 at 01:41PM

14
#733 - vTsoumenis / @kioopi

01/02/2011 at 05:17PM

14
#734 - Ashish Narasimham / @asheeshkabob

01/02/2011 at 09:15PM

14
#735 - Martin Ström / @haraldmartin

01/02/2011 at 11:22PM

14
#736 - Aurélien Delahaye / @alkove

01/02/2011 at 11:22PM

14
#737 - Kentarito / @elkentarito

01/03/2011 at 07:42AM

14
#738 - Ben Hall / @Ben_Hall

01/03/2011 at 02:13PM

14
#739 - Larry Marburger / @lmarburger

01/03/2011 at 05:54PM

14
#740 - Olivier Verdier / @OlivierVerdier

01/03/2011 at 07:05PM

14
#741 - Anders H. Madsen / @andershellerup

01/03/2011 at 08:34PM

14
#742 - Tom Burger / @thomasburger

01/03/2011 at 09:49PM

14
#743 - Daniel Waechter / @danielwaechter

01/04/2011 at 09:33PM

14
#744 - Hussein Morsy / @HusseinMorsy

01/04/2011 at 10:43PM

14
#745 - Charlie Liang Yuan / @_cly_

01/05/2011 at 01:24AM

14
#746 - dave lyons / @loadedfingers

01/05/2011 at 10:06AM

14
#747 - Grigoriy Glushko / @grinderrz

01/05/2011 at 12:49PM

14
#748 - Cartney McLennon / @mepsi_pax

01/05/2011 at 09:45PM

14
#749 - Oleg Roshupkin / @jjjahson

01/06/2011 at 10:21AM

14
#750 - Ujjwol Lamichhane / @Ujjwol

01/06/2011 at 11:35AM