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

3834 active golfers, 13369 entries

Leaderboard (lowest score wins):
14
#1291 - Justus Wilhelm / @justuswilhelm

03/25/2014 at 09:14AM

14
#1292 - Aidan Brumsickle / @aidanbrumsickle

03/26/2014 at 05:20PM

14
#1293 - Cody F H / @codyfh

04/03/2014 at 07:08PM

14
#1294 - ところたん / @tokoro10g

04/06/2014 at 02:08PM

14
#1295 - Dmitry / @dimonzozo

04/13/2014 at 12:25AM

14
#1296 - Endir / @Endir2

04/17/2014 at 03:35PM

14
#1297 - Jones / @Libidijones

04/18/2014 at 03:36PM

14
#1298 - 土ヤ / @ttsuchiya

04/25/2014 at 05:39AM

14
#1299 - Domas / @DAblingis

04/29/2014 at 03:42PM

14
#1300 - Marcin Mucha / @marcinmucha

04/29/2014 at 09:10PM

14
#1301 - Gregor MacDougall / @GrMacDougall

04/30/2014 at 02:35AM

14
#1302 - John Hawthorn / @jhawthorn

04/30/2014 at 02:52AM

14
#1303 - (ノ●ヮ●)ノ*:・゚✧ / @jaredrnorman

04/30/2014 at 02:55AM

14
#1304 - Joey Liu / @JoeytallLiu

04/30/2014 at 02:59AM

14
#1305 - Olivier Gayot / @duskCoder

05/01/2014 at 05:42PM

14
#1306 - Łukasz Makuch / @zopsesen

05/04/2014 at 07:36AM

14
#1307 - Maarten Kruithof / @mckruithuijb

05/04/2014 at 02:25PM

14
#1308 - Brian Olpin / @bolpin

05/04/2014 at 02:42PM

14
#1309 - Victor Haffreingue / @nobe_4

05/04/2014 at 05:20PM

14
#1310 - Richard Veneracion / @rveneracion

05/08/2014 at 03:17AM

14
#1311 - Martin Delille / @martinodelilo

05/08/2014 at 12:16PM

14
#1312 - Anton Dudenkoff / @dudenkoff

05/11/2014 at 07:56AM

14
#1313 - Jeff Parent / @jeffparent

05/11/2014 at 02:04PM

14
#1314 - Mathieu Blondel / @mblondel_ml

05/12/2014 at 04:14PM

14
#1315 - T / @tea_sea

05/12/2014 at 04:27PM

14
#1316 - Henry Blevins / @HenryBlevins

05/18/2014 at 01:29PM

14
#1317 - Alex / @ven_y_toma

05/18/2014 at 10:07PM

14
#1318 - Hogan Seah / @geechrist

05/20/2014 at 08:59PM

14
#1319 - BJ Terry / @ThatBJTerry

05/21/2014 at 07:03AM

14
#1320 - CDRdude / @CDRdude

05/22/2014 at 06:33AM