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

3102 active golfers, 10610 entries

Leaderboard (lowest score wins):
14
#1141 - (ノ●ヮ●)ノ*:・゚✧ / @jaredrnorman

04/30/2014 at 02:55AM

14
#1142 - Joey Liu / @JoeytallLiu

04/30/2014 at 02:59AM

14
#1143 - Olivier Gayot / @duskCoder

05/01/2014 at 05:42PM

14
#1144 - Łukasz Makuch / @zopsesen

05/04/2014 at 07:36AM

14
#1145 - Maarten Kruithof / @mckruithuijb

05/04/2014 at 02:25PM

14
#1146 - Brian Olpin / @bolpin

05/04/2014 at 02:42PM

14
#1147 - Victor Haffreingue / @nobe_4

05/04/2014 at 05:20PM

14
#1148 - Richard Veneracion / @rveneracion

05/08/2014 at 03:17AM

14
#1149 - Martin Delille / @martinodelilo

05/08/2014 at 12:16PM

14
#1150 - Anton Dudenkoff / @dudenkoff

05/11/2014 at 07:56AM

14
#1151 - Jeff Parent / @jeffparent

05/11/2014 at 02:04PM

14
#1152 - Mathieu Blondel / @mblondel_ml

05/12/2014 at 04:14PM

14
#1153 - Tom Cammann / @tea_sea

05/12/2014 at 04:27PM

14
#1154 - Henry Blevins / @HenryBlevins

05/18/2014 at 01:29PM

14
#1155 - Alex / @ven_y_toma

05/18/2014 at 10:07PM

14
#1156 - Hogan Seah / @geechrist

05/20/2014 at 08:59PM

14
#1157 - BJ Terry / @ThatBJTerry

05/21/2014 at 07:03AM

14
#1158 - CDRdude / @CDRdude

05/22/2014 at 06:33AM

14
#1159 - Oleg Tsymbalyuk / @oleg_tc

05/28/2014 at 11:31AM

14
#1160 - Nick Chambers / @fatnickc

05/31/2014 at 11:46AM

14
#1161 - Sntano Euhsk / @SEuhsk

06/02/2014 at 07:35AM

14
#1162 - Shawn / @ShawnSquire

06/02/2014 at 07:08PM

14
#1163 - Alan Sherman / @InfoLeak117

06/03/2014 at 07:01PM

14
#1164 - Samuel Bryner / @samuelbryner

06/03/2014 at 10:09PM

14
#1165 - Stephen / @StephenPek

06/06/2014 at 01:42PM

14
#1166 - nikola chochkov / @gooodini

06/08/2014 at 09:13PM

14
#1167 - Mayor Guelph / @RogerGuelph

06/11/2014 at 02:20AM

14
#1168 - Brian Peck / @bpeck614

06/11/2014 at 05:57AM

14
#1169 - Alec Johanson / @alecj007

06/19/2014 at 01:26PM

14
#1170 - Andrew Simms / @andrewdsimms

06/25/2014 at 02:28AM