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):
32
#3001 - snippyhollow / @syhw

12/28/2010 at 11:37PM

32
#3002 - Roman Mašek / @romario333

01/05/2011 at 08:32PM

32
#3003 - Bill Caputo / @logosity

04/01/2011 at 09:16PM

32
#3004 - Lee Jones / @scribblethink

09/27/2011 at 02:22PM

32
#3005 - Daniel Matarazzo / @db_zzo

06/15/2012 at 03:35AM

32
#3006 - Daniel Champion / @DanielChampion3

01/06/2013 at 09:40AM

32
#3007 - Alexander Bandukwala / @abanduk

01/17/2014 at 07:38PM

32
#3008 - Alex Bundy / @plntmusic

06/04/2014 at 03:48AM

32
#3009 - Jonas Müller / @muellerjonas

06/11/2014 at 09:26AM

32
#3010 - Samir Sadek / @netsamir

07/18/2015 at 06:13AM

32
#3011 - Márton Németh / @nemarci42

03/01/2017 at 12:43PM

32
#3012 - Дмитрий Васильев / @VasilyevDmitriy

06/12/2017 at 12:44PM

32
#3013 - Stefan Käser / @stivi_kivi

03/22/2019 at 08:52AM

32
#3014 - kevin wanek / @kevinwanek

07/20/2019 at 10:11PM

33
#3015 - Myron Marston / @myronmarston

12/28/2010 at 07:23PM

33
#3016 - Hwan-Joon / @hc5duke

12/28/2010 at 08:26PM

33
#3017 - Simon Jefford / @simonj

12/28/2010 at 08:57PM

33
#3018 - tinco / @tinco

12/29/2010 at 02:39PM

33
#3019 - William Shackleton / @wshackleton

12/30/2010 at 09:49PM

33
#3020 - Neil / @spameldoon

08/20/2011 at 11:11PM

33
#3021 - Андрей Куманяев / @zzetorg

02/13/2012 at 11:03PM

33
#3022 - Samuel / @Namgnoi

01/31/2013 at 09:14PM

33
#3023 - boobooopower / @boobooopower

02/06/2013 at 06:54PM

33
#3024 - galadriel2143 / @galadriel2143

07/06/2013 at 06:31PM

33
#3025 - Zachery Chin / @momochi0

11/05/2013 at 04:36AM

33
#3026 - Brett Cassette / @brettcassette

11/30/2013 at 07:08AM

33
#3027 - grundic / @grundic

02/03/2014 at 10:48AM

33
#3028 - lilleswing / @lilleswing

06/26/2014 at 01:13PM

33
#3029 - ことえり / @kter

03/05/2015 at 02:16PM

33
#3030 - GarrettPeterson / @GarrettPeterson

02/16/2016 at 06:56PM