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
#901 - xavier kt / @xav_kt

02/01/2013 at 01:01PM

14
#902 - Phil / @ischi

02/06/2013 at 09:49PM

14
#903 - Mikko Haavisto / @mhaavisto

02/28/2013 at 07:44PM

14
#904 - igoodrich / @igoodrich

03/02/2013 at 06:46AM

14
#905 - Gonzalo Arreche / @grilix

03/04/2013 at 05:50PM

14
#906 - Simon Tost / @Someone_Busy

03/08/2013 at 01:30PM

14
#907 - Martin Sander / @0x89

03/08/2013 at 01:31PM

14
#908 - Korbinian Stoemmer / @PaulSmecker

03/08/2013 at 01:32PM

14
#909 - Eric Weikl / @ericweikl

03/08/2013 at 01:33PM

14
#910 - Bernhard Tausch / @tauschb

03/08/2013 at 01:36PM

14
#911 - René Scheibe / @renescheibe

03/08/2013 at 01:50PM

14
#912 - Joel Elkins / @dice_tea

03/11/2013 at 02:34PM

14
#913 - Sebastian Heil / @sebokopter

03/12/2013 at 01:54AM

14
#914 - Sofia Balicka / @so_phifi

03/18/2013 at 11:36AM

14
#915 - Bradley Goliber / @bgoliber

03/20/2013 at 10:55PM

14
#916 - Tyler / @tylerbindon

03/28/2013 at 03:28AM

14
#917 - Geoff Longman / @metageoff

03/29/2013 at 03:10PM

14
#918 - Martin Keogh / @Martin1Keogh

03/31/2013 at 03:06PM

14
#919 - Josh Johnson / @jnjosh

04/01/2013 at 04:35AM

14
#920 - John Smith / @c2kdev21

04/04/2013 at 01:27PM

14
#921 - Goran Petrovity / @nasdukar

04/07/2013 at 03:49PM

14
#922 - Balazs Nadasdi / @yitsushi

04/16/2013 at 02:35PM

14
#923 - Kuldeep Bora / @kuldeep_bora

04/17/2013 at 06:32AM

14
#924 - David Hoeffer / @dhoeffer

04/24/2013 at 12:46PM

14
#925 - Raji Krish / @rajitopper

04/24/2013 at 05:56PM

14
#926 - Scott Myц / @ScottMuc

04/25/2013 at 06:03AM

14
#927 - sundeepblue / @sundeepblue

04/25/2013 at 03:18PM

14
#928 - Paul Kunysch / @kunysch

04/28/2013 at 02:58PM

14
#929 - Bitt Faulk / @bittfaulk

04/28/2013 at 09:03PM

14
#930 - wesdeboer / @wesdeboer

05/03/2013 at 04:10AM