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

3821 active golfers, 13316 entries

Leaderboard (lowest score wins):
13
#631 - LCY / @Chooneh

06/05/2020 at 10:32AM

13
#632 - Aidan Wilson / @aidanbwilson

06/29/2020 at 05:45AM

13
#633 - 大矢元海 / @008Genkai

07/03/2020 at 08:01PM

13
#634 - dudemanbro23 / @eXpLoDHF

07/08/2020 at 04:12PM

13
#635 - Jan Sturm / @JanSturm77

07/12/2020 at 03:01PM

13
#636 - JL T / @l0f4r0

07/19/2020 at 09:57PM

13
#637 - Tanzeel Kazi / @tanzeelkazi

08/21/2020 at 06:45AM

13
#638 - Till Straube / @tillstr

08/21/2020 at 05:17PM

13
#639 - Matthew Blode / @BlodeMatthew

08/26/2020 at 06:51AM

13
#640 - lamtt77 / @lamtt77

10/09/2020 at 10:51AM

13
#641 - Er St / @ErSt46286501

10/11/2020 at 10:43AM

13
#642 - Alice / @Alice92541388

10/20/2020 at 01:48AM

13
#643 - AAbraxas / @AAbraxas1

10/23/2020 at 09:07PM

13
#644 - quemeraisc / @quemeraisc

11/06/2020 at 03:38PM

13
#645 - Ihor / @Ihor96382508

12/06/2020 at 10:06AM

13
#646 - rats is a cool name / @cd_rum

12/21/2020 at 04:56AM

13
#647 - Brian :| / @Seeemplicity

12/25/2020 at 06:06AM

13
#648 - Jung Yeon Park / @park_jungy

01/03/2021 at 07:22PM

13
#649 - Austin Scott / @theMetgame

01/10/2021 at 11:58PM

13
#650 - SpadeAcademic / @AcademicSpade

01/12/2021 at 09:58AM

13
#651 - Andreas Siegrist / @andreaszwei

01/21/2021 at 09:31PM

13
#652 - Gaston / @Gaston53635525

01/23/2021 at 10:37PM

13
#653 - Michael Ye / @mly32michael

01/24/2021 at 05:36PM

13
#654 - ytrxc38754975 / @royaso

05/22/2021 at 02:30AM

13
#655 - vim_maxter / @MaxterVim

07/01/2021 at 01:48PM

13
#656 - lydxn / @lydxn1

07/24/2021 at 03:10AM

13
#657 - Карл / @tb_ism

07/24/2021 at 06:27PM

13
#658 - Juraj Fiala / @juraj_fiala

09/27/2021 at 11:57AM

13
#659 - literally a 🐝 / @abbie_is_here

10/29/2021 at 03:48PM

13
#660 - Paradoxskin / @paradoxskin

11/01/2021 at 07:44AM