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
#781 - murky-satyr / @m_satyr

12/29/2011 at 10:07AM

14
#782 - Jon Olin / @8BitTree

01/03/2012 at 07:08AM

14
#783 - Christopher Brew / @Seph1rothVII

01/07/2012 at 12:18AM

14
#784 - Alexander Soborov / @excelenter

01/15/2012 at 10:16PM

14
#785 - Vasil Sakarov / @vsakarov

01/17/2012 at 09:45PM

14
#786 - Hannu Kröger / @hkroger

01/19/2012 at 07:29PM

14
#787 - Logan Glasson / @logan12358

01/28/2012 at 06:26AM

14
#788 - Ashley Feniello / @AshleyFen

01/29/2012 at 04:22AM

14
#789 - Saeed Nejati / @saeedn

01/30/2012 at 09:44AM

14
#790 - Mikael Amborn / @mikaelamborn

01/30/2012 at 09:03PM

14
#791 - maxthoursie / @maxthoursie

01/30/2012 at 10:36PM

14
#792 - Henry Johnes / @xeosvn

01/31/2012 at 12:15PM

14
#793 - akira_simpson / @akira_simpson

01/31/2012 at 06:40PM

14
#794 - John / @OneOhOneOhOneOh

02/05/2012 at 01:50AM

14
#795 - Raúl Pedroche / @pedrocheisback

02/07/2012 at 08:50PM

14
#796 - Zakhar / @plicated

02/08/2012 at 03:45AM

14
#797 - Shane Emmons / @semmons99

02/10/2012 at 08:45PM

14
#798 - Kieran / @kgleeson

02/11/2012 at 12:11AM

14
#799 - TMcE / @t_mce

02/12/2012 at 03:49PM

14
#800 - snuffling / @snuffling

02/12/2012 at 07:43PM

14
#801 - Manu / @bound_test

02/13/2012 at 08:35AM

14
#802 - Alexander Scherbinin / @realmyst

02/13/2012 at 10:00PM

14
#803 - lev / @relevv

02/14/2012 at 12:15AM

14
#804 - Tim Blair / @timblair

02/16/2012 at 02:29PM

14
#805 - Scott Schlesier / @sschlesier

02/21/2012 at 07:06AM

14
#806 - 無ん垢の叫び / @john_ababa

02/21/2012 at 12:41PM

14
#807 - Adrien Friggeri / @qelf

02/25/2012 at 05:47AM

14
#808 - Aaron Massey / @akmassey

03/01/2012 at 09:59PM

14
#809 - Lukas / @cast3r

03/11/2012 at 01:25AM

14
#810 - Michael Jin / @michaeljin

03/12/2012 at 01:26AM