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):
39
#2911 - Ravi S Sinha / @ambidextrousTx

08/29/2012 at 08:33AM

39
#2912 - Cody Frazer / @crfrazer

11/07/2012 at 04:45PM

39
#2913 - Masha Rikhter / @mrikhter

07/09/2014 at 11:59PM

39
#2914 - WAKASUGI 5T111111 / @5t111111

02/09/2015 at 12:35PM

39
#2915 - egormeister / @egormeister1

10/24/2018 at 03:33PM

39
#2916 - tuyen / @tuyen66827418

11/27/2018 at 11:08AM

40
#2917 - Chris Parsons / @chrismdp

12/28/2010 at 11:08PM

40
#2918 - Algor / @algor_1

10/06/2012 at 12:33PM

40
#2919 - tomo / @arte_nut

09/10/2013 at 10:29PM

40
#2920 - urandom / @ttyrandom

10/21/2018 at 12:55PM

40
#2921 - Maarten Staa / @SeriousSpoon

02/27/2019 at 02:35PM

41
#2922 - Katie Kennedy / @cappy_haddock

12/29/2010 at 08:18AM

41
#2923 - drio / @drio

12/29/2010 at 11:48AM

41
#2924 - Kelan Champagne / @kelan

01/30/2011 at 03:40AM

41
#2925 - jaequery / @jaequery

03/27/2013 at 03:33PM

41
#2926 - steron / @steron23

04/01/2015 at 06:24PM

41
#2927 - Max Jacobson / @maxjacobson

10/29/2015 at 03:03AM

41
#2928 - Pereant osores / @viniciusxp

02/15/2018 at 10:10AM

42
#2929 - Paul Tarjan / @ptarjan

12/28/2010 at 09:07PM

42
#2930 - Alfredo Deza / @alfredodeza

12/29/2010 at 01:42AM

42
#2931 - Eddie Dunn / @imoleet

08/07/2013 at 09:32AM

42
#2932 - LLiseil / @lliseil

07/14/2014 at 04:32PM

42
#2933 - h talk / @talkto_me

03/22/2015 at 03:44PM

43
#2934 - ssmithstone / @ssmithstone

12/28/2010 at 07:53PM

43
#2935 - Matt Behrens / @AskedRelic

12/28/2010 at 08:23PM

43
#2936 - Akeem Adeniji / @akeem

12/29/2010 at 12:29AM

43
#2937 - marklu / @marklu

12/29/2010 at 10:11AM

43
#2938 - Scott Abernethy / @scott_abernethy

12/31/2010 at 07:02AM

43
#2939 - tristan escalada / @tescalada

01/04/2011 at 10:10PM

43
#2940 - Josh / @beau_jo

08/01/2011 at 07:52PM