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

3130 active golfers, 10703 entries

Leaderboard (lowest score wins):
14
#871 - Gregor Schmidt / @schmidtwisser

09/27/2012 at 09:03AM

14
#872 - Mats Sigge / @MatsSigge

10/03/2012 at 07:19PM

14
#873 - Andrea Francia / @andreafrancia

10/06/2012 at 04:18PM

14
#874 - Johan Isacsson / @JohanIsacsson

10/12/2012 at 02:51PM

14
#875 - Serge Pirotte / @SergePirotte

10/18/2012 at 05:16PM

14
#876 - Nathan / @boysetsfrog

10/31/2012 at 01:17PM

14
#877 - mazemult / @mazemult

11/01/2012 at 09:57AM

14
#878 - BZ_VG / @BZ_VG

11/07/2012 at 11:28AM

14
#879 - Mikko Loponen / @lopossumi

11/08/2012 at 04:57PM

14
#880 - Joshua Travis / @jktravis

11/11/2012 at 02:36AM

14
#881 - Heath Ritchie / @heathritchie

11/13/2012 at 05:15PM

14
#882 - marmelad / @jordgubbssylt

11/17/2012 at 11:23AM

14
#883 - Lieven Keersmaekers / @LievenKeersmaek

11/24/2012 at 08:55PM

14
#884 - Nick Bakkegaard / @Bakkemand

11/26/2012 at 02:06PM

14
#885 - Juan C. Muller / @juancmuller

12/03/2012 at 08:23PM

14
#886 - TarcĂ­sio Gruppi / @txgruppi

12/11/2012 at 03:49PM

14
#887 - a24f0600 / @a24f0600

12/13/2012 at 05:44PM

14
#888 - Jon Van Anda / @jonvananda

12/20/2012 at 10:08PM

14
#889 - Alex Hammel / @AlexJHammel

12/24/2012 at 02:46PM

14
#890 - Steve Lazaridis / @SteveLazaridis

01/02/2013 at 07:45PM

14
#891 - Terry Ma / @terry_ma

01/06/2013 at 04:35AM

14
#892 - Asmund / @herrasbe

01/13/2013 at 01:25PM

14
#893 - r / @tricosahedron

01/13/2013 at 09:35PM

14
#894 - Alexander Borysov / @ab99c5e2

01/15/2013 at 07:18PM

14
#895 - nirosys / @nirosys

01/16/2013 at 02:36AM

14
#896 - CY / @wongcy0

01/27/2013 at 07:24AM

14
#897 - hexforfun / @hexforfun

01/27/2013 at 10:17PM

14
#898 - Chris Trombley / @ctrombley

01/29/2013 at 03:02AM

14
#899 - Tom Duijf / @tomduijf

01/29/2013 at 10:17PM

14
#900 - Toshiyuki Nakamura / @yukidarake

01/30/2013 at 04:31AM