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

3075 active golfers, 10529 entries

Leaderboard (lowest score wins):
13
#61 - Aaron Snitzer / @snitzr

02/08/2012 at 04:11AM

13
#62 - Scott Leishman / @scttl

02/10/2012 at 07:38AM

13
#63 - Darren Firth / @DarrenSFirth

02/11/2012 at 02:14AM

13
#64 - demon.mhm / @demonmhm

02/18/2012 at 07:41PM

13
#65 - Peter Anselmo / @peter_anselmo

03/08/2012 at 07:46PM

13
#66 - Robin Deits / @r_deits

03/09/2012 at 11:09PM

13
#67 - Плеханов Дмитрий / @onemanstartup

03/12/2012 at 02:31AM

13
#68 - Sebastian Kusnier / @skusnier

04/13/2012 at 07:16PM

13
#69 - drupalovereasy / @drupalovereasy

04/14/2012 at 03:12AM

13
#70 - Gavin Rogers / @KC9KVQ

04/22/2012 at 10:40PM

13
#71 - Mikael Ohlsson / @Mikael0hlsson

04/24/2012 at 06:36PM

13
#72 - Rod Knowlton / @codelahoma

04/24/2012 at 11:17PM

13
#73 - Tim Chase / @gumnos

05/03/2012 at 11:51AM

13
#74 - skarrok / @skarrok

05/05/2012 at 07:28PM

13
#75 - Christian Gaida / @chgaida

05/06/2012 at 09:42PM

13
#76 - Tyler B / @DuderB

05/10/2012 at 05:13PM

13
#77 - Urtica dioica / @udioica

05/14/2012 at 06:13AM

13
#78 - Sergey / @sav86

05/18/2012 at 02:42AM

13
#79 - funkattack / @funkattack

05/22/2012 at 12:48PM

13
#80 - Benoit Mortgat / @Benoit_Mortgat

06/08/2012 at 04:43AM

13
#81 - David / @ebonhand09

06/11/2012 at 01:06PM

13
#82 - Tom Sisk / @TomSisk

06/24/2012 at 10:22AM

13
#83 - Vincent Beffara / @vbeffara

06/24/2012 at 11:38AM

13
#84 - Michal Karas / @largon13

06/25/2012 at 09:02PM

13
#85 - dimsharav / @dimsharav

07/03/2012 at 11:33AM

13
#86 - shark dick / @DickShark

07/12/2012 at 08:22PM

13
#87 - Taylor Rose / @trose89

07/13/2012 at 05:08AM

13
#88 - John Piasetzki / @jpiasetz

07/13/2012 at 05:42AM

13
#89 - Daniel S / @smatter0ne

07/15/2012 at 08:22PM

13
#90 - wes / @_weslly

07/15/2012 at 11:24PM