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
#121 - Steve Tjoa / @stevetjoa

01/30/2013 at 12:35AM

13
#122 - Yann Moisan / @YannMoisan

02/01/2013 at 02:57PM

13
#123 - Adam Bell / @adamgbell

02/12/2013 at 08:38PM

13
#124 - Jonas Engman / @jodas

02/18/2013 at 04:08PM

13
#125 - Kai Yuan / @kentyuan

02/21/2013 at 01:27PM

13
#126 - Andrew Hlavats / @farthestworld

02/24/2013 at 08:56PM

13
#127 - Manuel Meilinger / @MMeilinger

03/08/2013 at 01:37PM

13
#128 - HongKilDong / @HongKilDong

03/15/2013 at 09:25AM

13
#129 - Trevor Powell / @DoomedBunnies

03/20/2013 at 06:49AM

13
#130 - Matt Adelman / @Xavierstein

03/20/2013 at 04:15PM

13
#131 - David Gibson / @dgibson_

04/30/2013 at 02:11PM

13
#132 - Ben / @bdchauvette

05/03/2013 at 08:11AM

13
#133 - jan muha / @h4ct1c

05/04/2013 at 06:31PM

13
#134 - Nick Rowe / @nixterrimus

05/15/2013 at 07:12AM

13
#135 - Marco Hinz / @_mhinz_

05/18/2013 at 09:07AM

13
#136 - Robottinosino / @Robottinosino

05/18/2013 at 05:22PM

13
#137 - hafsteinn / @hafsteinn

05/19/2013 at 01:16PM

13
#138 - M8R eonxi21 / @eonxi21

05/20/2013 at 06:07PM

13
#139 - Joshua Draper / @JoshuaBDraper

05/25/2013 at 04:31PM

13
#140 - Mike K Tung / @mikektung

05/26/2013 at 05:03AM

13
#141 - Arthur Andrade / @Magbaad

05/29/2013 at 09:52AM

13
#142 - Tom User / @kiryph

05/30/2013 at 12:42PM

13
#143 - Michael / @mjs2600

06/05/2013 at 11:51PM

13
#144 - jeepee / @jeepee_test

06/06/2013 at 07:58PM

13
#145 - qtwtetrt / @qtwtetrt

06/23/2013 at 03:58PM

13
#146 - Jonáš Šerých / @serycjon

06/25/2013 at 08:48PM

13
#147 - Łukasz Bujakowski / @eggxtreme

06/27/2013 at 11:20AM

13
#148 - Arthur LEDARD / @arthur_yaal

06/27/2013 at 03:01PM

13
#149 - Maxime Dréau / @mdreau

06/27/2013 at 07:58PM

13
#150 - Norm Fasey / @DeathRay1977

07/06/2013 at 09:14AM