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

2925 active golfers, 10005 entries

Leaderboard (lowest score wins):
13
#361 - Andreas Schlegel / @andischl

07/26/2015 at 11:58AM

13
#362 - Hunter Gatewood / @hcgatewood

07/28/2015 at 06:34AM

13
#363 - Taylor Hall / @KreativeKatze

08/12/2015 at 07:38PM

13
#364 - Дима Давыдов / @xaykot

08/14/2015 at 09:20PM

13
#365 - rramos / @rrxx1969

08/15/2015 at 09:56PM

13
#366 - LC / @leeren

08/22/2015 at 09:03AM

13
#367 - Sime Buljac / @sim_bul

08/31/2015 at 03:51PM

13
#368 - Mart T / @xtimmu

09/03/2015 at 07:04PM

13
#369 - Joey / @joeyism101

09/11/2015 at 02:31AM

13
#370 - JS / @jjohsan

09/12/2015 at 04:36PM

13
#371 - MikeT / @mik3t

09/14/2015 at 07:59PM

13
#372 - Kevin Merlin / @mp3merlin

09/17/2015 at 02:39PM

13
#373 - Mikael Saltzman / @MikaelSaltzman

09/25/2015 at 03:01PM

13
#374 - Thomas Draper / @QuanTom561

09/26/2015 at 02:05AM

13
#375 - Self Doc Code / @self_doc_code

09/28/2015 at 06:39AM

13
#376 - Jon Krause / @jkrause314

09/30/2015 at 06:42PM

13
#377 - compuserved / @compuserved

10/04/2015 at 04:21AM

13
#378 - ojung / @oskrjung

10/04/2015 at 11:04PM

13
#379 - Kohei Oguchi / @ogch_v

10/12/2015 at 07:00AM

13
#380 - 朱国栋 / @GuodongZhu

10/15/2015 at 03:54AM

13
#381 - Smylers / @Smylers2

10/21/2015 at 02:50PM

13
#382 - Gleb Kh / @GlebKh

10/24/2015 at 04:36AM

13
#383 - Peter / @sunirbmag

10/25/2015 at 04:25PM

13
#384 - Jacob Steffler / @jacobsteffler

10/25/2015 at 08:50PM

13
#385 - Justin Sermeno / @justinsermeno

10/29/2015 at 10:41PM

13
#386 - Curt Matz / @sitrucz

11/11/2015 at 03:13AM

13
#387 - kris / @0xkrp

11/11/2015 at 11:57AM

13
#388 - AD / @Lievr0

11/21/2015 at 08:59AM

13
#389 - matias altman / @MatiasAltman

11/30/2015 at 04:10PM

13
#390 - Faat / @i_faat

12/04/2015 at 04:58PM