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

3221 active golfers, 11003 entries

Leaderboard (lowest score wins):
33
#3031 - Simon / @0xa5a5

04/02/2016 at 09:10AM

33
#3032 - Sayan Sarkar / @StrongReduction

11/11/2018 at 07:36AM

34
#3033 - Sasha Koss / @kossnocorp

12/28/2010 at 08:26PM

34
#3034 - Brian Shacklett / @bshacklett

12/29/2010 at 04:29AM

34
#3035 - Michael Lustfield / @Profarius

12/29/2010 at 07:08AM

34
#3036 - deadsunrise / @Deadsunrise

12/29/2010 at 09:31AM

34
#3037 - Fujimura Daisuke / @ffu_

01/06/2011 at 04:58AM

34
#3038 - Joost / @vlabakje

02/11/2011 at 09:29PM

34
#3039 - blair / @themacblair

08/08/2011 at 12:31PM

34
#3040 - Don Okuda / @donokuda

02/05/2012 at 11:04PM

34
#3041 - Ryan Knowles / @RyKnowl

11/17/2012 at 01:31AM

34
#3042 - fdask / @fdask

11/11/2013 at 07:31PM

34
#3043 - Jeff Federman / @jefffederman

01/29/2014 at 02:36AM

34
#3044 - Rajesh Duggal / @rduggal

05/13/2014 at 05:15PM

34
#3045 - Maik Klein / @MaikRnq

09/10/2014 at 01:43PM

34
#3046 - Adrian Stanev / @AdrianStanev

11/05/2016 at 12:52PM

35
#3047 - Caio Filipini / @caiofilipini

12/28/2010 at 10:00PM

35
#3048 - Eric Holmes / @ejholmes01

12/30/2010 at 05:01AM

35
#3049 - John Hilliard / @praetorian

01/31/2012 at 04:15AM

35
#3050 - Viswanath Sivakumar / @viswanathgs

08/26/2012 at 11:44PM

35
#3051 - hc / @handsomecheung

08/12/2013 at 03:43AM

35
#3052 - Piotr G. / @gbdlin

12/04/2013 at 03:46PM

35
#3053 - Athira Gireesh / @athiragireesh

03/20/2014 at 11:51AM

35
#3054 - wizardwerdna / @wizardwerdna

05/14/2014 at 01:14AM

35
#3055 - Nico Jansen / @nicojansen1804

01/03/2017 at 06:15PM

35
#3056 - Patrick Haugh / @haughpj

03/12/2018 at 07:28PM

36
#3057 - Roy van der Meij / @royvandermeij

12/29/2010 at 07:47AM

36
#3058 - risto vire / @risro

12/29/2010 at 01:11PM

36
#3059 - 5hIYi80Y007 / @5Y007

12/02/2013 at 03:48PM

36
#3060 - Alex Baldwin / @alexbaldwin

02/03/2014 at 06:13AM