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

3830 active golfers, 13343 entries

Leaderboard (lowest score wins):
14
#1201 - Bambu / @bambumandinga

12/15/2013 at 07:24AM

14
#1202 - Леха Иванов / @xhoskin

12/15/2013 at 12:02PM

14
#1203 - Joseph Ku / @josephku

12/17/2013 at 11:23AM

14
#1204 - Andreas M.Ø. / @andreasmalling

12/17/2013 at 01:25PM

14
#1205 - Petr Broz / @ipetrbroz

12/17/2013 at 07:23PM

14
#1206 - Methuz / @Methuz

12/19/2013 at 04:53AM

14
#1207 - pikaren / @REALpikaren

12/21/2013 at 06:04AM

14
#1208 - Josh Howe / @joshtch

12/21/2013 at 11:23PM

14
#1209 - Paul Chandler / @chandlpa

12/22/2013 at 05:30AM

14
#1210 - Russ Adams / @rustushki

12/22/2013 at 04:15PM

14
#1211 - Alex Rutkowski / @alexmarie84

12/25/2013 at 09:15PM

14
#1212 - Domingue Justin / @_jdomingue

12/26/2013 at 01:42AM

14
#1213 - Salleyron Julien / @juguul

12/29/2013 at 04:48PM

14
#1214 - Tibor Claassen / @codebeige

01/01/2014 at 08:50AM

14
#1215 - Matt Parnell / @parnmattdev

01/02/2014 at 10:15PM

14
#1216 - a / @asdfsdafdsfdsaf

01/04/2014 at 01:56AM

14
#1217 - Clinton シ / @iblamefish

01/05/2014 at 06:55PM

14
#1218 - Rodrigo Campos G. / @rodri_gore

01/06/2014 at 08:32PM

14
#1219 - Sven Hedin / @HedinR7

01/11/2014 at 08:29PM

14
#1220 - Mark Janssen / @MPCtje

01/15/2014 at 01:23PM

14
#1221 - John Amicangelo / @AmicangeloJohn

01/21/2014 at 03:05PM

14
#1222 - Thomas / @lslahrs

01/21/2014 at 09:59PM

14
#1223 - Dominick Pham / @enotionz

01/24/2014 at 06:38PM

14
#1224 - Lucas Rosa Galêgo / @lrgalego

01/26/2014 at 01:40AM

14
#1225 - Victor Alessandro / @VictorAlessand4

01/27/2014 at 04:08AM

14
#1226 - ITechJunkie / @ITechJunkie

01/28/2014 at 08:47PM

14
#1227 - Diego Ardila / @diegoard

01/28/2014 at 09:19PM

14
#1228 - John Karlsson / @karlssonjohn

01/28/2014 at 10:25PM

14
#1229 - JamesT / @jamestrinklein

01/29/2014 at 07:54AM

14
#1230 - harsh / @harsh1618

01/29/2014 at 08:13AM