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

3270 active golfers, 11152 entries

Leaderboard (lowest score wins):
13
#601 - leo / @leo28356948

10/20/2019 at 04:59AM

13
#602 - IronTiger Park / @IrontigerP

10/23/2019 at 12:45AM

13
#603 - Gregory Furter / @gfurter

11/01/2019 at 10:26AM

13
#604 - Jonathan Medwig / @jmedwig

11/12/2019 at 11:35AM

13
#605 - Lei Kin / @kireinasorakin

11/13/2019 at 03:42AM

13
#606 - skamgolf / @skamgolf

11/18/2019 at 10:04PM

13
#607 - Lion de Bell / @CLGBamboo

12/01/2019 at 01:08PM

13
#608 - Matt Aschmann / @ma7hatter

12/05/2019 at 04:54PM

13
#609 - Delon / @delonleonard

12/26/2019 at 01:55PM

13
#610 - JimmyGymglish / @JGymglish

01/15/2020 at 11:01AM

13
#611 - Jean-Francois Parent / @hacker_pyrat

01/19/2020 at 04:10AM

13
#612 - li / @li94938987

01/24/2020 at 04:26PM

13
#613 - Renns / @Renns95250521

02/15/2020 at 10:42AM

13
#614 - howanto / @ho_wan_

02/20/2020 at 01:07PM

13
#615 - Muhammad Affan / @maqur5

03/05/2020 at 04:20PM

13
#616 - countime / @countime1

03/06/2020 at 05:50AM

13
#617 - Sean Dewar / @seandewar

03/13/2020 at 07:26PM

13
#618 - Robberechts Arne / @ArneRobberechts

03/22/2020 at 05:30PM

13
#619 - Alexander / @Alexand64026860

03/25/2020 at 02:51PM

13
#620 - edvrds / @edvrds

04/16/2020 at 04:04PM

13
#621 - Victor / @victor_rma

04/24/2020 at 11:36PM

13
#622 - {{ profile.name }} / @bytesonly

04/29/2020 at 12:09PM

13
#623 - Arthur Goodman / @ArthurGoodman3

04/30/2020 at 11:38AM

13
#624 - Quentin Leroy / @qnleroy

05/07/2020 at 03:48PM

13
#625 - Joel / @Joel33380735

05/14/2020 at 02:41PM

13
#626 - lpf / @yurisses

05/21/2020 at 05:45PM

13
#627 - 于吉星 / @fishermryn

05/25/2020 at 10:02AM

13
#628 - kashikasitaro / @kashikasitaro

05/30/2020 at 06:47AM

13
#629 - 永田翼 / @TsubasaNagata

05/30/2020 at 07:06AM

13
#630 - Valdimar / @genkobar

06/02/2020 at 10:14PM