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

3004 active golfers, 10275 entries

Leaderboard (lowest score wins):
13
#91 - q_revert / @q_revert

07/18/2012 at 01:18PM

13
#92 - Tanguy Antoine / @tanguyantoine

07/19/2012 at 01:42AM

13
#93 - Andrey Yankin / @YankinAndrey

07/19/2012 at 11:46AM

13
#94 - Benoit Thiell / @benoitthiell

07/19/2012 at 09:27PM

13
#95 - James Davis / @tripvg

08/03/2012 at 10:52PM

13
#96 - Bernhard Urban / @lewurm

08/09/2012 at 01:12PM

13
#97 - 刘玮 / @lwjef

08/13/2012 at 06:35AM

13
#98 - Enrique Paredes / @iknite

08/17/2012 at 11:48PM

13
#99 - ninjay / @ninjaygolf

08/22/2012 at 09:37PM

13
#100 - Charles Gordon / @liberalbias

08/23/2012 at 05:12AM

13
#101 - mhb / @mhbvim

09/18/2012 at 10:48AM

13
#102 - Conner McDaniel / @connermcd

09/18/2012 at 03:57PM

13
#103 - Nicholas Clark / @GitNick

09/18/2012 at 11:40PM

13
#104 - Victor Ramirez / @virako

09/30/2012 at 08:04PM

13
#105 - Vim rocks / @vimrocks

10/06/2012 at 10:10AM

13
#106 - Ole Petter Bang / @gnab

10/25/2012 at 05:56PM

13
#107 - Kate / @Arohanui

10/29/2012 at 02:22AM

13
#108 - Chris Patuzzo / @cpatuzzo

11/03/2012 at 08:55PM

13
#109 - Alex Podaras / @apodaras

11/07/2012 at 01:46PM

13
#110 - Vimgolf Pikob / @vimgolfpikob

11/27/2012 at 11:08PM

13
#111 - Hubba / @HubbaBubbaFett

12/01/2012 at 06:51PM

13
#112 - Harry Garrood / @hdgarrood

12/02/2012 at 08:38PM

13
#113 - Xinruo Sun / @xiaoruoruo

12/23/2012 at 10:24AM

13
#114 - Tetsuya Matsuyama / @m_tetsuya

12/30/2012 at 01:39PM

13
#115 - Averell Dalton / @webtwoosucks

01/02/2013 at 12:00AM

13
#116 - A'braham Barakhyahu / @BlessYahu

01/02/2013 at 06:20PM

13
#117 - Kurt Robert Rudolph / @krudolph9

01/07/2013 at 01:49PM

13
#118 - Ryan Scarbery / @ryan_scarbery

01/11/2013 at 08:35PM

13
#119 - django unchained / @DjangoTuxg

01/17/2013 at 10:13PM

13
#120 - Jimmy Mabey / @mabeyj

01/19/2013 at 10:21PM