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

3099 active golfers, 10601 entries

Leaderboard (lowest score wins):
14
#841 - Andrew D. Wong / @andrewdwong

07/16/2012 at 05:28PM

14
#842 - Ryan K. / @cell303

07/23/2012 at 12:17PM

14
#843 - Pau C. / @Pau_Compte

07/25/2012 at 07:51PM

14
#844 - Glen / @Glen_S

07/27/2012 at 09:44PM

14
#845 - Eric Söderström / @eksoderstrom

08/09/2012 at 03:49AM

14
#846 - Reed Riley / @ReedRile

08/14/2012 at 12:36AM

14
#847 - Nick Miller / @ItsMeNickMiller

08/16/2012 at 12:25PM

14
#848 - Giovanni Cali / @Odexios

08/16/2012 at 07:28PM

14
#849 - Alykhan Kanji / @alykhank

08/17/2012 at 05:45PM

14
#850 - vansan / @VinceVansan

08/20/2012 at 08:54PM

14
#851 - Théophile Wallez / @twallez

08/23/2012 at 09:48PM

14
#852 - Aaron Hall / @aarontothemax

08/27/2012 at 01:44AM

14
#853 - deigen / @deigen0

08/28/2012 at 10:28PM

14
#854 - Richard / @crazyyoss

08/29/2012 at 11:28PM

14
#855 - tmr / @tmr314

09/07/2012 at 06:18AM

14
#856 - Jason Bruce / @jbrucenet

09/07/2012 at 11:01PM

14
#857 - Kerry Burke / @kurver

09/11/2012 at 10:15AM

14
#858 - Joachim / @jodles89

09/12/2012 at 09:05AM

14
#859 - Egor Laufer / @egor_laufer

09/15/2012 at 08:40PM

14
#860 - Lee Folkman / @leefolkman

09/18/2012 at 11:27PM

14
#861 - Miguel Diaz / @tiomiguel

09/25/2012 at 04:42PM

14
#862 - Gregor Schmidt / @schmidtwisser

09/27/2012 at 09:03AM

14
#863 - Mats Sigge / @MatsSigge

10/03/2012 at 07:19PM

14
#864 - Andrea Francia / @andreafrancia

10/06/2012 at 04:18PM

14
#865 - Johan Isacsson / @JohanIsacsson

10/12/2012 at 02:51PM

14
#866 - Serge Pirotte / @SergePirotte

10/18/2012 at 05:16PM

14
#867 - Nathan / @boysetsfrog

10/31/2012 at 01:17PM

14
#868 - mazemult / @mazemult

11/01/2012 at 09:57AM

14
#869 - BZ_VG / @BZ_VG

11/07/2012 at 11:28AM

14
#870 - Mikko Loponen / @lopossumi

11/08/2012 at 04:57PM