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
#301 -  River / @glacialrd

10/31/2014 at 03:47AM

13
#302 - Hrvoje Kopinc / @Hrwaaa

11/16/2014 at 03:24PM

13
#303 - Martin Toma / @MartinToma

11/16/2014 at 09:04PM

13
#304 - Yuriy / @skriyka

11/19/2014 at 10:03PM

13
#305 - Benjamin Frölich / @kakazwerglein

11/19/2014 at 11:11PM

13
#306 - Joel S. / @joelthelion

11/22/2014 at 09:51PM

13
#307 - Daniel Blancas / @edblancas

11/25/2014 at 11:29PM

13
#308 - Vincent Dumoulin / @dumoulinv

11/26/2014 at 02:55AM

13
#309 - Shanky Surana / @shankysurana

11/27/2014 at 12:27AM

13
#310 - Ivan Brennan / @ivanbrennan

11/28/2014 at 07:38PM

13
#311 - Roberto Alegro / @robertoaall

11/30/2014 at 04:39AM

13
#312 - Abdo Achkar / @Achkar

12/06/2014 at 01:15PM

13
#313 - Frederik Vosberg / @FrediVosberg

12/08/2014 at 07:46PM

13
#314 - Jansen Price / @sumpygump

12/14/2014 at 04:19AM

13
#315 - david hu / @chin33z

12/17/2014 at 11:21AM

13
#316 - yoshi / @meriam_color

12/20/2014 at 07:15PM

13
#317 - Bellator nobilis / @BNobilis

12/21/2014 at 09:39PM

13
#318 - Jakub Horák / @kubahorak

12/29/2014 at 12:01PM

13
#319 - juicelink / @juicelink

12/31/2014 at 08:00AM

13
#320 - Nick Dyer / @nickbdyer

01/01/2015 at 02:06PM

13
#321 - kimber gonzalez / @kimberlycreates

01/07/2015 at 04:47PM

13
#322 - Zull Full / @Zullfull

01/11/2015 at 03:56PM

13
#323 - low_ghost / @low_ghost_clone

01/17/2015 at 09:50PM

13
#324 - kobby / @_kafdot_

01/18/2015 at 06:56PM

13
#325 - Harm te Hennepe / @HrmtH

01/22/2015 at 11:43PM

13
#326 - Nolic / @cNolic

02/05/2015 at 04:35AM

13
#327 - Steven Lu / @stevenlu443

02/07/2015 at 05:15AM

13
#328 - Rathrio / @Rathrio

02/08/2015 at 02:49PM

13
#329 - Ethan Chan / @metakirby5

02/12/2015 at 08:43AM

13
#330 - Terence Hang / @technic_tec

02/14/2015 at 05:29AM