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

3034 active golfers, 10385 entries

Leaderboard (lowest score wins):
13
#571 - Matthew Rossman / @chimpman252

03/30/2019 at 11:07AM

13
#572 - . / @fislaqq

03/31/2019 at 12:45AM

13
#573 - Joseph A Shalabi / @JosephShalabi

04/03/2019 at 04:01PM

13
#574 - Dryvnt / @Dryvnt

04/04/2019 at 01:05PM

13
#575 - longB / @longB77353628

04/06/2019 at 11:05AM

13
#576 - Joel Eriksson / @OwariDa

04/08/2019 at 10:42PM

13
#577 - alekfed / @alek_fed

04/14/2019 at 08:03PM

13
#578 - tnagai / @tnagai

04/24/2019 at 05:56AM

13
#579 - Grant / @grant_7788

04/27/2019 at 02:06PM

13
#580 - EliTheCoder / @elithecoder

04/30/2019 at 02:57PM

13
#581 - Sherab Giovannini / @shaddycls

05/01/2019 at 11:00PM

13
#582 - David McDonald / @dmcdona

05/19/2019 at 04:29AM

13
#583 - Fiffy / @sr21486642

05/23/2019 at 07:25AM

13
#584 - popexizhi / @popexizhi

05/28/2019 at 12:00PM

13
#585 - Seunghun Lee / @earlbread

06/01/2019 at 10:45AM

13
#586 - Foo Bar / @foobar01123

06/10/2019 at 07:18AM

13
#587 - majo senf / @majo_senf

06/14/2019 at 01:22PM

13
#588 - John Herman Schwit / @JohnHermanSchwi

06/23/2019 at 06:37PM

14
#589 - Mirosław Boruta / @m1rk00

12/28/2010 at 09:53PM

14
#590 - Aaron Bull Schaefer / @elasticdog

12/29/2010 at 12:01AM

14
#591 - Paul King / @nrocy

12/29/2010 at 05:52AM

14
#592 - Kerry Buckley / @kerryb

12/29/2010 at 07:47AM

14
#593 - John Lam / @john_lam

12/29/2010 at 08:57AM

14
#594 - foo bar / @whoever_foo

12/29/2010 at 10:13AM

14
#595 - Marcelo F Andrade / @mfandrade

12/29/2010 at 04:29PM

14
#596 - Austin Taylor / @austintaylor

12/29/2010 at 04:51PM

14
#597 - Utkarsh Kukreti / @utkarshkukreti

12/29/2010 at 05:51PM

14
#598 - Josh Weinberg / @jcweinberg

12/29/2010 at 06:53PM

14
#599 - Henri Bourcereau / @mmai

12/29/2010 at 07:36PM

14
#600 - Tim Dean / @Tmdean

12/29/2010 at 09:48PM