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, 10601 entries

Leaderboard (lowest score wins):
14
#871 - Joshua Travis / @jktravis

11/11/2012 at 02:36AM

14
#872 - Heath Ritchie / @heathritchie

11/13/2012 at 05:15PM

14
#873 - marmelad / @jordgubbssylt

11/17/2012 at 11:23AM

14
#874 - Lieven Keersmaekers / @LievenKeersmaek

11/24/2012 at 08:55PM

14
#875 - Nick Bakkegaard / @Bakkemand

11/26/2012 at 02:06PM

14
#876 - Juan C. Muller / @juancmuller

12/03/2012 at 08:23PM

14
#877 - TarcĂ­sio Gruppi / @txgruppi

12/11/2012 at 03:49PM

14
#878 - a24f0600 / @a24f0600

12/13/2012 at 05:44PM

14
#879 - Jon Van Anda / @jonvananda

12/20/2012 at 10:08PM

14
#880 - Alex Hammel / @AlexJHammel

12/24/2012 at 02:46PM

14
#881 - Steve Lazaridis / @SteveLazaridis

01/02/2013 at 07:45PM

14
#882 - Terry Ma / @terry_ma

01/06/2013 at 04:35AM

14
#883 - Asmund / @herrasbe

01/13/2013 at 01:25PM

14
#884 - r / @tricosahedron

01/13/2013 at 09:35PM

14
#885 - Alexander Borysov / @ab99c5e2

01/15/2013 at 07:18PM

14
#886 - nirosys / @nirosys

01/16/2013 at 02:36AM

14
#887 - CY / @wongcy0

01/27/2013 at 07:24AM

14
#888 - hexforfun / @hexforfun

01/27/2013 at 10:17PM

14
#889 - Chris Trombley / @ctrombley

01/29/2013 at 03:02AM

14
#890 - Tom Duijf / @tomduijf

01/29/2013 at 10:17PM

14
#891 - Toshiyuki Nakamura / @yukidarake

01/30/2013 at 04:31AM

14
#892 - xavier kt / @xav_kt

02/01/2013 at 01:01PM

14
#893 - Phil / @ischi

02/06/2013 at 09:49PM

14
#894 - Mikko Haavisto / @mhaavisto

02/28/2013 at 07:44PM

14
#895 - igoodrich / @igoodrich

03/02/2013 at 06:46AM

14
#896 - Gonzalo Arreche / @grilix

03/04/2013 at 05:50PM

14
#897 - Simon Tost / @Someone_Busy

03/08/2013 at 01:30PM

14
#898 - Martin Sander / @0x89

03/08/2013 at 01:31PM

14
#899 - Korbinian Stoemmer / @PaulSmecker

03/08/2013 at 01:32PM

14
#900 - Eric Weikl / @ericweikl

03/08/2013 at 01:33PM