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

3099 active golfers, 10601 entries

Leaderboard (lowest score wins):
14
#1081 - Strabs / @artistavenue

02/03/2014 at 03:36PM

14
#1082 - ▚▞▜▛▟▓▛▜░▙▟▒▋▌▊ / @null_radix

02/03/2014 at 09:49PM

14
#1083 - Zach Bennett / @saquintes

02/04/2014 at 04:15AM

14
#1084 - Nico Gevers / @gevious_

02/04/2014 at 12:29PM

14
#1085 - Marcin Cabaj / @marcincabaj

02/04/2014 at 05:18PM

14
#1086 - jimauthors / @jimauthors

02/05/2014 at 04:57AM

14
#1087 - Jean / @ygu0_0

02/05/2014 at 07:39PM

14
#1088 - Yongho / @YONG_HO

02/06/2014 at 08:10AM

14
#1089 - Jonny / @Jonnytron

02/08/2014 at 07:54PM

14
#1090 - Patrick Oscity / @der_padde

02/10/2014 at 01:09AM

14
#1091 - Pedro Santos / @pedrosans

02/11/2014 at 04:54PM

14
#1092 - Ricardo M. Vilchis / @ajkaanbal

02/12/2014 at 11:46PM

14
#1093 - Steven Wiggins / @StevenWiggins

02/13/2014 at 06:31PM

14
#1094 - Павел Шнель / @lic06397

02/15/2014 at 09:24AM

14
#1095 - radu petrutiu / @radu_petrutiu

02/15/2014 at 12:27PM

14
#1096 - Geraint Hywel / @g_mawr

02/15/2014 at 01:30PM

14
#1097 - Vitalii / @veelenga

02/15/2014 at 08:25PM

14
#1098 - Mina Naguib / @minaguib

02/17/2014 at 02:21AM

14
#1099 - Jared Meyering / @Jmeyering

02/18/2014 at 10:09PM

14
#1100 - Jonas K. / @geratheon

02/19/2014 at 12:06PM

14
#1101 - ゆきみ / @edp02

02/23/2014 at 12:18PM

14
#1102 - hiro / @oahiroaki

02/24/2014 at 07:30AM

14
#1103 - Dmitry Petrov / @can3p

02/25/2014 at 08:41AM

14
#1104 - Dheeraj Sayala / @dheerosaur

02/25/2014 at 12:54PM

14
#1105 - Marchand Paul-Valère / @pvmarch

02/25/2014 at 04:54PM

14
#1106 - Antonio Jesús / @antoniojesvs

02/27/2014 at 01:30PM

14
#1107 - Jack Jacquemmoz / @MozJack

02/27/2014 at 04:39PM

14
#1108 - Alexey Kornilov / @klexae

02/28/2014 at 07:15AM

14
#1109 - Jordi Coscolla / @kozko2001

03/01/2014 at 05:05PM

14
#1110 - Ri / @riateche

03/02/2014 at 12:18PM