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

3218 active golfers, 10989 entries

Leaderboard (lowest score wins):
14
#1141 - Hannes Remahl / @hannesr

03/05/2014 at 10:46PM

14
#1142 - Angus McInnes / @eigenstuff

03/06/2014 at 11:18AM

14
#1143 - Matthew Darby / @nifrith

03/07/2014 at 09:26PM

14
#1144 - Timothy Lin / @lzh9102

03/07/2014 at 11:09PM

14
#1145 - Daniel / @danielpie92

03/08/2014 at 10:00PM

14
#1146 - 영훈 / @odjfnrtm

03/10/2014 at 01:08PM

14
#1147 - Bo Zhi / @zhibo_ng

03/11/2014 at 08:19AM

14
#1148 - buz / @buzbone

03/11/2014 at 07:57PM

14
#1149 - RB / @powerage88

03/13/2014 at 11:04PM

14
#1150 - Filipe Silva / @d4rchangel

03/15/2014 at 09:42PM

14
#1151 - Adrian / @reblow

03/21/2014 at 04:40PM

14
#1152 - David Barker / @dashleybarker

03/22/2014 at 03:15PM

14
#1153 - Jacob / @jayekub

03/23/2014 at 12:49AM

14
#1154 - God / @iamgod

03/24/2014 at 12:51PM

14
#1155 - Justus Wilhelm / @justuswilhelm

03/25/2014 at 09:14AM

14
#1156 - Aidan Brumsickle / @aidanbrumsickle

03/26/2014 at 05:20PM

14
#1157 - Cody F H / @codyfh

04/03/2014 at 07:08PM

14
#1158 - ところたん / @tokoro10g

04/06/2014 at 02:08PM

14
#1159 - Dmitry / @dimonzozo

04/13/2014 at 12:25AM

14
#1160 - Endir / @Endir2

04/17/2014 at 03:35PM

14
#1161 - Jones / @Libidijones

04/18/2014 at 03:36PM

14
#1162 - 土ヤ / @ttsuchiya

04/25/2014 at 05:39AM

14
#1163 - Domas / @DAblingis

04/29/2014 at 03:42PM

14
#1164 - Marcin Mucha / @marcinmucha

04/29/2014 at 09:10PM

14
#1165 - Gregor MacDougall / @GrMacDougall

04/30/2014 at 02:35AM

14
#1166 - John Hawthorn / @jhawthorn

04/30/2014 at 02:52AM

14
#1167 - (ノ●ヮ●)ノ*:・゚✧ / @jaredrnorman

04/30/2014 at 02:55AM

14
#1168 - Joey Liu / @JoeytallLiu

04/30/2014 at 02:59AM

14
#1169 - Olivier Gayot / @duskCoder

05/01/2014 at 05:42PM

14
#1170 - Łukasz Makuch / @zopsesen

05/04/2014 at 07:36AM