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

3418 active golfers, 11657 entries

Leaderboard (lowest score wins):
23
#2791 - Domon / @Domon

09/11/2012 at 05:40AM

23
#2792 - Cam Peterson / @Cam_Peterson

11/20/2012 at 08:41AM

23
#2793 - Lluís Mª Bosch / @LluisMa

04/06/2013 at 07:54PM

23
#2794 - Przemysław Kamiński / @CXLII

08/05/2013 at 01:44PM

23
#2795 - Monder / @monderx

08/10/2013 at 08:50PM

23
#2796 - Yu / @Yuyah1

09/12/2013 at 09:27AM

23
#2797 - Chris Ford / @ctford

10/20/2013 at 07:21AM

23
#2798 - Brian Skarda / @BrianSkarda

10/22/2013 at 05:44PM

23
#2799 - Santiago Vacas / @snvcs

11/07/2013 at 04:20PM

23
#2800 - Will Handley / @falsewhenquined

11/24/2013 at 10:04PM

23
#2801 - Jay B Martin / @jaybmart

12/03/2013 at 03:38AM

23
#2802 - Joao Cleto / @jcleto

01/13/2014 at 07:55PM

23
#2803 - Jonathan Slenders / @jonathan_s

01/29/2014 at 11:07AM

23
#2804 - Larijohn Adorable / @jbpnoy6fifty

01/30/2014 at 10:56AM

23
#2805 - Brad Garland / @bradg

03/20/2014 at 03:28AM

23
#2806 - d1uckym d1uckym / @d1uckym

04/03/2014 at 01:53AM

23
#2807 - Armen Shimoon / @ArmenShimoon

04/29/2014 at 06:29AM

23
#2808 - Chris Davison / @davisonnn

05/24/2014 at 11:52PM

23
#2809 - Tojo Chacko / @tojochacko

05/31/2014 at 09:29AM

23
#2810 - Zef / @ZefMusic

06/12/2014 at 11:44PM

23
#2811 - Joshua Rose / @pythagory

06/27/2014 at 05:39PM

23
#2812 - z / @__zool

06/28/2014 at 06:08PM

23
#2813 - Andreas Lundin / @Zmorf

11/07/2014 at 01:40PM

23
#2814 - ペロリスト / @07151129

02/09/2015 at 01:26PM

23
#2815 - Kristijan Husak / @kristijan_husak

02/13/2015 at 11:31AM

23
#2816 - Carsten Lenz / @carstenlenz

02/13/2015 at 04:05PM

23
#2817 - Yuan Guan / @yuanguan89

03/02/2015 at 05:29AM

23
#2818 - Mickael Le Gal / @mickaellegal

03/29/2015 at 04:06PM

23
#2819 - Matthew / @magee210

07/28/2015 at 12:52AM

23
#2820 - Rafeh Qazi / @RafehQ

10/12/2015 at 03:56PM