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

3075 active golfers, 10529 entries

Leaderboard (lowest score wins):
13
#331 - Laurent Stacul / @stac47

02/20/2015 at 04:55PM

13
#332 - Michael Giuffrida / @mgiuffrida

02/21/2015 at 10:11AM

13
#333 - Jérôme Salignon / @JeromeSalignon

02/22/2015 at 06:45PM

13
#334 - Alan Berndt / @bentglasstube

02/23/2015 at 06:09PM

13
#335 - octotep / @octotep

02/28/2015 at 04:02PM

13
#336 - Matthew Pryor / @HodgekaGames

03/03/2015 at 10:49PM

13
#337 - DrHobo / @_DrHobo_

03/09/2015 at 11:21PM

13
#338 - Ala' Ibrahim / @alaa_ibrahim

03/10/2015 at 08:44AM

13
#339 - Alexander Kazakov / @volandkot

03/29/2015 at 12:58PM

13
#340 - John Horne / @TheDirtyJanitor

04/04/2015 at 06:19AM

13
#341 - Raj / @brshenoy

04/08/2015 at 03:11PM

13
#342 - Paul Diaconescu / @paulgtd

04/14/2015 at 08:36PM

13
#343 - Charles Joachim / @cacplate

04/18/2015 at 01:16AM

13
#344 - matthieu le grix / @mlegrix

04/22/2015 at 09:15PM

13
#345 - Andreas Carben / @meiner_eins

04/25/2015 at 09:28PM

13
#346 - Felix / @DoubleFelix_

05/10/2015 at 03:06AM

13
#347 - smokemachine / @smokemachine

05/12/2015 at 01:51AM

13
#348 - danweaver / @danweaver

05/14/2015 at 02:59PM

13
#349 - François Marais / @maraisf

05/21/2015 at 07:26PM

13
#350 - David Nguyen / @nguydavi

06/06/2015 at 05:48PM

13
#351 - ahumph / @ahumph

06/10/2015 at 10:23AM

13
#352 - Hao Deng / @haodeng

06/12/2015 at 04:02AM

13
#353 - Mutter Mumble / @muttermumble

06/17/2015 at 04:34PM

13
#354 - Noud Speijcken / @noudspeijcken

06/22/2015 at 02:30PM

13
#355 - raghu erapaneedi / @raghue9

06/22/2015 at 04:10PM

13
#356 - Andres Manz / @manz_andres

06/24/2015 at 12:59PM

13
#357 - Seth Yoder / @McMire315

06/25/2015 at 04:52PM

13
#358 - Chris / @crr0004

06/29/2015 at 02:18PM

13
#359 - Steffen Köhler / @Baertierchen

07/11/2015 at 11:32PM

13
#360 - José Rodrigues / @jyrodrigues

07/18/2015 at 12:34AM