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):
28
#3091 - Zach Miller / @barizachsy

02/27/2019 at 03:27AM

28
#3092 - IHateTweeting999 / @ITweeting999

05/05/2019 at 08:07PM

28
#3093 - Березницкий Вадим / @vad1mster

07/06/2019 at 06:44PM

28
#3094 - GAUTAM V NAIK / @gautamnaik1994

08/24/2019 at 09:16AM

28
#3095 - dzungtran / @dzungtran89

09/19/2020 at 12:00AM

28
#3096 - fff / @fff51460170

01/13/2021 at 04:18AM

28
#3097 - Khanh Nguyen / @npkhanhh

06/30/2021 at 11:43AM

28
#3098 - Azgerod / @Azgerod2

02/16/2022 at 04:49PM

28
#3099 - Jakob k. Hansen / @JakobkHansen1

04/17/2022 at 11:46AM

29
#3100 - Kevin Colyar / @kevincolyar

12/28/2010 at 09:56PM

29
#3101 - ryanmusicman / @ryanmusicman

12/28/2010 at 09:57PM

29
#3102 - Clif R. / @ninjapirateclif

12/28/2010 at 11:21PM

29
#3103 - Jason Wong / @jasonwong

12/31/2010 at 05:34PM

29
#3104 - Nico / @nicou

01/02/2011 at 07:56PM

29
#3105 - Ben Bleything / @bleything

01/05/2011 at 09:07PM

29
#3106 - Aidar Biktimirov / @aidarbiktimirov

01/18/2011 at 03:37PM

29
#3107 - Peter Tellgren / @petertellgren

05/27/2011 at 02:21PM

29
#3108 - jonathanpberger / @jonathanpberger

07/06/2011 at 01:50PM

29
#3109 - xeal / @xeal

08/23/2011 at 06:37AM

29
#3110 - José / @antigravedadtw

11/07/2011 at 06:48PM

29
#3111 - Matt K / @kirchstein

12/08/2011 at 07:17AM

29
#3112 - Patrick Muldoon / @d00n

12/22/2011 at 01:20PM

29
#3113 - neerajsharma / @neerajsharma

01/25/2012 at 08:08AM

29
#3114 - Alexey Baranov / @baranov0

08/24/2012 at 07:44AM

29
#3115 - Stuart King / @stuartrexking

01/23/2013 at 06:28AM

29
#3116 - Huj8228 / @Huj82281

05/06/2013 at 05:00PM

29
#3117 - Rafael Vega / @rafavega

05/19/2013 at 12:51PM

29
#3118 - Nyambayar Turbat / @nyambayar_t

06/25/2013 at 07:23AM

29
#3119 - Coder 2.0 / @coder20

06/27/2013 at 03:24AM

29
#3120 - Kim Laï Trinh / @KimLaTrinh

01/23/2014 at 03:08PM