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

3130 active golfers, 10703 entries

Leaderboard (lowest score wins):
14
#751 - Jim Infield / @jinfield

07/14/2011 at 04:20AM

14
#752 - Dave / @zzdave13

07/15/2011 at 10:33AM

14
#753 - Eric Gerlach / @egerlach

07/17/2011 at 04:57AM

14
#754 - pet_rock / @pet_rock

07/27/2011 at 04:37PM

14
#755 - (Erik Michaels-Ober) / @sferik

07/29/2011 at 01:50AM

14
#756 - Harry Marr / @harrymarr

07/29/2011 at 03:15AM

14
#757 - Michael Sofaer / @MikeSofaer

07/29/2011 at 06:09AM

14
#758 - Stephen Gordon / @DubsGordon

08/01/2011 at 10:45PM

14
#759 - banana / @sparkleseed

08/03/2011 at 08:18AM

14
#760 - Katrina Owen / @kytrinyx

08/25/2011 at 05:44PM

14
#761 - quintin / @quintinjeannoel

08/29/2011 at 08:00AM

14
#762 - Lou Scoras / @ljsc

08/31/2011 at 08:04PM

14
#763 - Jesús Espino / @jespinog

09/06/2011 at 07:40AM

14
#764 - Petr Blaho / @petrblaho

09/14/2011 at 03:20PM

14
#765 - Dario Cazzaro / @darioqa

09/17/2011 at 05:57PM

14
#766 - Derrick Spell / @dcsesq

09/28/2011 at 04:33AM

14
#767 - Perry Hung / @fractalbroccoli

10/02/2011 at 03:17AM

14
#768 - Arlekin de Palermo / @arlekinpalermo

10/15/2011 at 10:37PM

14
#769 - Martin Janiczek / @janiczek

10/16/2011 at 10:34PM

14
#770 - nicolas bo / @thevegeta

11/08/2011 at 02:40PM

14
#771 - Sanchez Benjamin / @Sanchezsky

11/11/2011 at 11:40AM

14
#772 - Milan Dobrota / @milandobrota

11/20/2011 at 02:33AM

14
#773 - Flugsio / @flugsio

11/26/2011 at 05:17PM

14
#774 - 0x5042 / @0x5042

11/26/2011 at 09:29PM

14
#775 - Michael Levin / @kinnetica

12/06/2011 at 05:43PM

14
#776 - Jozef Fulop / @jfulop

12/07/2011 at 09:56AM

14
#777 - Duy Vinh CHUC / @french_vinh

12/10/2011 at 02:48PM

14
#778 - Oscar Del Ben / @oscardelben

12/12/2011 at 01:25AM

14
#779 - Rambominator / @Rambominator

12/12/2011 at 09:53AM

14
#780 - palentine / @palentine

12/12/2011 at 07:19PM