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

3189 active golfers, 10897 entries

Leaderboard (lowest score wins):
14
#1111 - Pedro Santos / @pedrosans

02/11/2014 at 04:54PM

14
#1112 - Ricardo M. Vilchis / @ajkaanbal

02/12/2014 at 11:46PM

14
#1113 - Steven Wiggins / @StevenWiggins

02/13/2014 at 06:31PM

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

02/15/2014 at 09:24AM

14
#1115 - radu petrutiu / @radu_petrutiu

02/15/2014 at 12:27PM

14
#1116 - Geraint Hywel / @g_mawr

02/15/2014 at 01:30PM

14
#1117 - Vitalii / @veelenga

02/15/2014 at 08:25PM

14
#1118 - Mina Naguib / @minaguib

02/17/2014 at 02:21AM

14
#1119 - Jared Meyering / @Jmeyering

02/18/2014 at 10:09PM

14
#1120 - Jonas K. / @geratheon

02/19/2014 at 12:06PM

14
#1121 - ゆきみ / @edp02

02/23/2014 at 12:18PM

14
#1122 - hiro / @oahiroaki

02/24/2014 at 07:30AM

14
#1123 - Dmitry Petrov / @can3p

02/25/2014 at 08:41AM

14
#1124 - Dheeraj Sayala / @dheerosaur

02/25/2014 at 12:54PM

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

02/25/2014 at 04:54PM

14
#1126 - Antonio Jesús / @antoniojesvs

02/27/2014 at 01:30PM

14
#1127 - Jack Jacquemmoz / @MozJack

02/27/2014 at 04:39PM

14
#1128 - Alexey Kornilov / @klexae

02/28/2014 at 07:15AM

14
#1129 - Jordi Coscolla / @kozko2001

03/01/2014 at 05:05PM

14
#1130 - Ri / @riateche

03/02/2014 at 12:18PM

14
#1131 - Yiyang Chen / @yiyangc91

03/03/2014 at 11:48AM

14
#1132 - Aleksandr Block / @AleksandrBlock

03/04/2014 at 10:11PM

14
#1133 - Hannes Remahl / @hannesr

03/05/2014 at 10:46PM

14
#1134 - Angus McInnes / @eigenstuff

03/06/2014 at 11:18AM

14
#1135 - Matthew Darby / @nifrith

03/07/2014 at 09:26PM

14
#1136 - Timothy Lin / @lzh9102

03/07/2014 at 11:09PM

14
#1137 - Daniel / @danielpie92

03/08/2014 at 10:00PM

14
#1138 - 영훈 / @odjfnrtm

03/10/2014 at 01:08PM

14
#1139 - Bo Zhi / @zhibo_ng

03/11/2014 at 08:19AM

14
#1140 - buz / @buzbone

03/11/2014 at 07:57PM