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

3123 active golfers, 10680 entries

Leaderboard (lowest score wins):
13
#541 - Fergus Longley / @FergusLongley

08/18/2018 at 01:35PM

13
#542 - Hugo / @szeyattai

08/20/2018 at 07:27AM

13
#543 - Valacar / @valacar

08/23/2018 at 09:17PM

13
#544 - Trey Deitch / @differenceeq

09/02/2018 at 12:16AM

13
#545 - Keldwik Chaldain / @Suskeyhose

09/05/2018 at 11:22PM

13
#546 - royer / @RoyerMoyer1

09/15/2018 at 12:34AM

13
#547 - DustVoice / @DustVoice

09/17/2018 at 10:47AM

13
#548 - Rasmus Bergström / @JRasmusBm

09/27/2018 at 07:38AM

13
#549 - DoubleIA / @IaDouble

09/30/2018 at 04:49AM

13
#550 - Benjamin Kiesl / @BenjaminKiesl

10/09/2018 at 02:57PM

13
#551 - Dax / @zacoxi

10/22/2018 at 09:44AM

13
#552 - Степанович Владислав / @Stepanovich98

10/23/2018 at 08:58PM

13
#553 - Sören Schellhoff / @Jackokomm

11/21/2018 at 12:46PM

13
#554 - Jonathan Cabezas / @John_Harkan

11/27/2018 at 10:55AM

13
#555 - Artur Mróz / @MrozArtur

12/06/2018 at 02:39PM

13
#556 - band / @band26376522

12/08/2018 at 11:36PM

13
#557 - lofoneax / @lofoneax

12/12/2018 at 12:47AM

13
#558 - Ruby Sapphire / @RubySapphire20

12/14/2018 at 12:32PM

13
#559 - Théo / @Theodnls

12/17/2018 at 03:37PM

13
#560 - Sondre Lunde / @SondreSL

12/29/2018 at 11:01PM

13
#561 - TimMcGuire / @mcguire

12/30/2018 at 03:13AM

13
#562 - Dan Yeaw / @danyeaw

01/13/2019 at 01:48AM

13
#563 - Stefano Bettani / @StefanoBettani

01/19/2019 at 03:40PM

13
#564 - Sébastien Roccaserra / @sroccaserra

01/26/2019 at 12:24AM

13
#565 - Ng Sek Long / @NgSekLong

02/09/2019 at 02:34PM

13
#566 - noisevoid / @noisevoid

02/26/2019 at 07:46PM

13
#567 - Titouan Teyssier / @TitouanT_

03/02/2019 at 08:39PM

13
#568 - sisi100 / @s1si100

03/06/2019 at 04:19AM

13
#569 - k24w24 / @k24w24

03/25/2019 at 08:56AM

13
#570 - Tom / @Tom39997681

03/30/2019 at 12:55AM