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
#901 - Bernhard Tausch / @tauschb

03/08/2013 at 01:36PM

14
#902 - René Scheibe / @renescheibe

03/08/2013 at 01:50PM

14
#903 - Joel Elkins / @dice_tea

03/11/2013 at 02:34PM

14
#904 - Sebastian Heil / @sebokopter

03/12/2013 at 01:54AM

14
#905 - Sofia Balicka / @so_phifi

03/18/2013 at 11:36AM

14
#906 - Bradley Goliber / @bgoliber

03/20/2013 at 10:55PM

14
#907 - Tyler / @tylerbindon

03/28/2013 at 03:28AM

14
#908 - Geoff Longman / @metageoff

03/29/2013 at 03:10PM

14
#909 - Martin Keogh / @Martin1Keogh

03/31/2013 at 03:06PM

14
#910 - Josh Johnson / @jnjosh

04/01/2013 at 04:35AM

14
#911 - John Smith / @c2kdev21

04/04/2013 at 01:27PM

14
#912 - Goran Petrovity / @nasdukar

04/07/2013 at 03:49PM

14
#913 - Balazs Nadasdi / @yitsushi

04/16/2013 at 02:35PM

14
#914 - Kuldeep Bora / @kuldeep_bora

04/17/2013 at 06:32AM

14
#915 - David Hoeffer / @dhoeffer

04/24/2013 at 12:46PM

14
#916 - Raji Krish / @rajitopper

04/24/2013 at 05:56PM

14
#917 - Scott Myц / @ScottMuc

04/25/2013 at 06:03AM

14
#918 - sundeepblue / @sundeepblue

04/25/2013 at 03:18PM

14
#919 - Paul Kunysch / @kunysch

04/28/2013 at 02:58PM

14
#920 - Bitt Faulk / @bittfaulk

04/28/2013 at 09:03PM

14
#921 - wesdeboer / @wesdeboer

05/03/2013 at 04:10AM

14
#922 - sequel / @sequel25

05/08/2013 at 09:15PM

14
#923 - Sean Harris / @mindloaf

05/11/2013 at 12:40AM

14
#924 - Joe Jackson / @anything_joes

05/12/2013 at 02:22PM

14
#925 - Kathryn / @hartknyx

05/17/2013 at 01:52AM

14
#926 - wushexu / @wushexu

05/20/2013 at 02:04PM

14
#927 - Anh Do / @quanganhdo

06/04/2013 at 05:03AM

14
#928 - deroguerre / @DeroguerreGui

06/05/2013 at 01:16PM

14
#929 - Eric Potter / @pottereric

06/05/2013 at 05:03PM

14
#930 - Matthew James / @Matthew55493344

06/08/2013 at 05:39PM