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

3846 active golfers, 13419 entries

Leaderboard (lowest score wins):
14
#1171 - Eli Lee Frey / @eli_frey

10/11/2013 at 09:52PM

14
#1172 - no / @justforvimgolf

10/16/2013 at 01:09PM

14
#1173 - Liam Wilkins / @CallMeWilkins

10/17/2013 at 07:19AM

14
#1174 - Nik Klassen / @nik_klassen

10/17/2013 at 07:42PM

14
#1175 - Gemma Lynn / @ellotheth

10/22/2013 at 06:08AM

14
#1176 - bunnies president / @bunnies4p

10/22/2013 at 07:16PM

14
#1177 - Paul Federspiel / @parobalth

10/22/2013 at 10:50PM

14
#1178 - tropicflite / @tropicflite

10/23/2013 at 03:44AM

14
#1179 - Casey Dwyer / @caseydwyer

10/23/2013 at 05:43AM

14
#1180 - Billy Ripper / @dirtlamb5

10/23/2013 at 06:55AM

14
#1181 - J. Nick Terry / @deft_code

10/23/2013 at 08:00PM

14
#1182 - A. N. / @arez42

10/24/2013 at 05:54AM

14
#1183 - s3vster / @s3vster

10/26/2013 at 06:33PM

14
#1184 - thasso / @thasso23

10/27/2013 at 11:30AM

14
#1185 - CarlMartin Rosenberg / @cmrosenberg

11/02/2013 at 11:17PM

14
#1186 - sockdude1 / @sockdude1

11/04/2013 at 05:24AM

14
#1187 - 邱韵 / @griffinqiu

11/06/2013 at 04:50PM

14
#1188 - Philipe Fatio / @fphilipe

11/09/2013 at 07:23PM

14
#1189 - gary.klindt@googlema / @garstekli

11/10/2013 at 09:05PM

14
#1190 - kurban / @kurban_mall

11/14/2013 at 09:44PM

14
#1191 - Ilya Ermolin / @ermolinis

11/15/2013 at 02:24PM

14
#1192 - Alexandros Giouzenis / @agiouz

11/15/2013 at 10:14PM

14
#1193 - Omar Sandoval / @omsandov

11/16/2013 at 08:55AM

14
#1194 - Daniel Marjenburgh / @dmarjenburgh

11/18/2013 at 07:35AM

14
#1195 - Taku Okawa / @t4ku

11/23/2013 at 01:20PM

14
#1196 - boo / @ijalob

11/26/2013 at 08:59AM

14
#1197 - Oskar Werkelin Ahlin / @osk_wa

12/03/2013 at 11:07PM

14
#1198 - Petra Kritzinger / @PetraKritzinger

12/06/2013 at 02:22PM

14
#1199 - Rémi Labeyrie / @rlabeyrie

12/06/2013 at 03:54PM

14
#1200 - John Gray Cole / @johngraycole

12/07/2013 at 04:01PM