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

3357 active golfers, 11431 entries

Leaderboard (lowest score wins):
14
#1261 - Aaron Fresh / @AaronFresh7

09/13/2014 at 07:33AM

14
#1262 - Mundi / @MarcusMundi

09/14/2014 at 08:06PM

14
#1263 - Jeffrey fiddler / @jeff_nv_86

09/19/2014 at 04:53PM

14
#1264 - Jose Gutierrez / @Jogusa

09/20/2014 at 10:49AM

14
#1265 - Eric Kever / @codeoverlode

09/29/2014 at 10:43PM

14
#1266 - Noah Ruderman / @noahc66260

10/04/2014 at 07:55AM

14
#1267 - Daniel Burnett / @mango_cheetah

10/10/2014 at 04:08AM

14
#1268 - Philipp Aeschbach / @ihbmifqerg

10/10/2014 at 09:30AM

14
#1269 - Narek / @NarekCat

10/10/2014 at 07:53PM

14
#1270 - Michael Daffin / @James14790

10/14/2014 at 11:00AM

14
#1271 - Matthew Leadbetter / @Halty

10/14/2014 at 11:01AM

14
#1272 - Hanakun. / @akunohanaKUN

10/16/2014 at 01:05PM

14
#1273 - Anton Geraschenko / @geraschenko

10/19/2014 at 08:24PM

14
#1274 - Dick Head / @brandius1

10/22/2014 at 04:19PM

14
#1275 - Andreas Simon / @ndrssmn

10/22/2014 at 05:03PM

14
#1276 - Ryan Glassett / @rollsavager

10/23/2014 at 12:12AM

14
#1277 - Matt / @mcr05

10/29/2014 at 10:46AM

14
#1278 - Marcelo Montu / @_mMontu_

10/29/2014 at 06:02PM

14
#1279 - eBrnd / @eBrnd

11/02/2014 at 12:31PM

14
#1280 - Harold Pong / @har2po

11/05/2014 at 06:07PM

14
#1281 - Inndy / @Inndy_tw

11/06/2014 at 04:36PM

14
#1282 - Dane Summers / @dsummersl

11/06/2014 at 08:04PM

14
#1283 - Alex Hioreanu / @hioreanu

11/09/2014 at 04:58PM

14
#1284 - CJ Avilla / @wizemanip

11/09/2014 at 07:40PM

14
#1285 - Thomas Geßler / @th_gessler

11/16/2014 at 09:54PM

14
#1286 - Jan Novak / @odpadnimail

11/19/2014 at 03:26AM

14
#1287 - Keyboard Fire / @KeyboardFire

11/22/2014 at 02:07PM

14
#1288 - BurntBrainSoup / @BurntBrainSoup

11/25/2014 at 01:04AM

14
#1289 - nonplus / @nonplus_

11/26/2014 at 12:27AM

14
#1290 - Erik Buček / @_EnterNameHere_

11/26/2014 at 02:08PM