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

3004 active golfers, 10275 entries

Leaderboard (lowest score wins):
13
#421 - Alonzo / @tolver_a

07/22/2016 at 03:50PM

13
#422 - Sandeep Dhavale / @sandeep_dhavale

07/25/2016 at 12:39AM

13
#423 - Hara ga Hetta / @harahelix

07/25/2016 at 09:01AM

13
#424 - Jess Wong / @Jess199Jess

08/11/2016 at 12:41PM

13
#425 - William Robson / @wnrbs

08/11/2016 at 10:47PM

13
#426 - Paweł Smołka / @pawelsmolka

08/26/2016 at 12:47PM

13
#427 - JSDurand / @DurandJS

08/31/2016 at 11:31AM

13
#428 - jdupont655 / @jdupont655

09/02/2016 at 12:29AM

13
#429 - loki2441 / @loki2441

09/05/2016 at 11:47AM

13
#430 - Mateusz / @Mantos77

09/06/2016 at 08:53AM

13
#431 - hor1ace / @hor3ace

09/07/2016 at 08:55PM

13
#432 - 알카포 / @alkpo12

09/09/2016 at 06:47AM

13
#433 - Rasmus / @SBareSSomErMig

09/16/2016 at 07:50PM

13
#434 - Allen57 / @ludo57310

09/18/2016 at 05:17PM

13
#435 - Nico / @_Nico_Caro

09/26/2016 at 03:45AM

13
#436 - Anthony Ardito / @aardito21

09/27/2016 at 09:54PM

13
#437 - manbogot / @gmanbor

10/01/2016 at 10:25AM

13
#438 - 류장근 / @hero77geni

10/08/2016 at 12:28PM

13
#439 - trx / @trxdbg

10/11/2016 at 05:47AM

13
#440 - Nikos Kwlos / @Kwlos_Calling

10/12/2016 at 06:04PM

13
#441 - Josh Callender / @Saponifi3d

10/15/2016 at 11:50PM

13
#442 - 子皓翁 / @geniusgordon

10/26/2016 at 07:53AM

13
#443 - Joseph Simone / @averagejoey2000

11/03/2016 at 06:59PM

13
#444 - Kracejic / @kracejic

11/03/2016 at 07:33PM

13
#445 - vim golf wolfe / @vimwolfe

11/04/2016 at 06:49PM

13
#446 - Davis Fields / @i301585

11/05/2016 at 12:55AM

13
#447 - Alan Turing / @alantrng

11/14/2016 at 06:14AM

13
#448 - i1464083 / @i1464083

11/18/2016 at 12:27PM

13
#449 - Wessel Sinnema / @wsinnema

11/26/2016 at 08:02PM

13
#450 - Liam S Ismail / @AC01Y

12/06/2016 at 05:33PM