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

2925 active golfers, 10005 entries

Leaderboard (lowest score wins):
13
#241 - Michael Morgan / @1n1n1s3

02/03/2014 at 05:34PM

13
#242 - Nunya Bizness / @NunyaBi85490244

02/09/2014 at 04:04AM

13
#243 - Billy McCarthy / @reshippie

02/10/2014 at 09:26PM

13
#244 - Vlad-Ștefan Harbuz / @vladh

02/11/2014 at 11:46AM

13
#245 - Spencer McAlpine / @spencermcalpine

02/11/2014 at 01:46PM

13
#246 - Michael Bitzi / @mibitzi

02/14/2014 at 07:14PM

13
#247 - Jeremy Gold / @JeremyGold3

02/17/2014 at 07:45AM

13
#248 - John Braxler / @braxler

02/18/2014 at 09:34PM

13
#249 - Rajit Singh / @rajitbsingh

02/21/2014 at 03:49PM

13
#250 - František Hartman / @frant_hartm

02/23/2014 at 01:07PM

13
#251 - Clement Kinder / @ClementKinder

02/27/2014 at 04:48PM

13
#252 - ney_lemke / @ney_lemke

03/03/2014 at 01:17AM

13
#253 - Huang Yu / @trave7er

03/05/2014 at 01:41AM

13
#254 - Konrad / @zichul

03/08/2014 at 01:07AM

13
#255 - sprmgik / @sprmgik

03/13/2014 at 12:40AM

13
#256 - Joonas Pihlajamaa / @jokkebk

03/19/2014 at 11:16AM

13
#257 - Matt Stinson / @MrMatt2532

03/20/2014 at 01:48AM

13
#258 - Isaac / @elemental_1_1

03/23/2014 at 07:56AM

13
#259 - Nabi Studios / @Toribash

03/28/2014 at 01:13PM

13
#260 - Jeff / @just_geophree

03/29/2014 at 07:25PM

13
#261 - Marcus Kellerman / @sharkusk

03/30/2014 at 06:02AM

13
#262 - David Goonja / @davidgoonja

04/02/2014 at 08:17AM

13
#263 - HippieGeekGrrl / @hippiegeekgrrl

04/10/2014 at 02:04PM

13
#264 - ZorgroZ / @ZorgroZ

04/10/2014 at 11:37PM

13
#265 - Akshay Hegde / @ajh_17

04/17/2014 at 03:41AM

13
#266 - kiho choi / @ArtStandAlone

04/22/2014 at 09:41AM

13
#267 - Peeby Thirtyone / @peeby31

05/03/2014 at 06:31PM

13
#268 - Chaitanya Desu / @ChaituNu

05/04/2014 at 06:03AM

13
#269 - Default default / @Fuck_default

05/07/2014 at 08:49AM

13
#270 - zmo / @guyzmo

05/13/2014 at 12:29AM