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 576c778ea4896a561b01b4f2

Copy three lines

If the site is up (by some miracle), make the text under every header identical.

Start file
First:
	Junk text.
Second:
	Junk text.
Third:
	Junk text.
Last:
	Copy these lines,
        and replace the text
        in each heading above.
End file
First:
	Copy these lines,
        and replace the text
        in each heading above.
Second:
	Copy these lines,
        and replace the text
        in each heading above.
Third:
	Copy these lines,
        and replace the text
        in each heading above.
Last:
	Copy these lines,
        and replace the text
        in each heading above.

View Diff

With vimgolf.com's uptime issues, I don't know if anyone will get to play this.
It's tricky though, surprisingly so. I hope a few people manage to get it to
load.

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 608 remaining solutions by signing in and submitting your own entry
#609 まきお / @makio0925 - Score: 114 - 10/30/17 @ 10:22
jjjjjjjVjjykkkkkkV@@@<Esc><Esc><Esc>jjjjjjVjjykkkkkkVpjjjjVjkpVPPuuuujjjjjjVjjykkkkkkVpjjjjjjjjVjjykkkkVpjjjjjjVjjykkVp:w<CR>:wq<CR>

0 comments


Created by: @udioica

609 active golfers, 2736 entries

Leaderboard (lowest score wins):
13
#151 - howanto / @ho_wan_

02/22/2020 at 09:21PM

13
#152 - Mushan Yang / @mushanyoung

02/26/2020 at 09:18PM

13
#153 - countime / @countime1

03/10/2020 at 09:00AM

13
#154 - floyd / @floyd10086

03/16/2020 at 07:09AM

13
#155 - edvrds / @edvrds

04/20/2020 at 01:57PM

13
#156 - Arthur Goodman / @ArthurGoodman3

05/01/2020 at 10:08PM

13
#157 - Mateo / @Mateo_BCN

05/10/2020 at 11:55AM

13
#158 - Moatvald / @moatvald

05/11/2020 at 06:48AM

13
#159 - Jeff Cui / @jeffacce

05/13/2020 at 10:19AM

13
#160 - Kevin Keefe / @KevinKeefe5

05/22/2020 at 05:34PM

13
#161 - 于吉星 / @fishermryn

05/27/2020 at 09:16AM

13
#162 - Fluidjax / @fluidjax

05/30/2020 at 07:35AM

13
#163 - Valdimar / @genkobar

06/08/2020 at 09:09PM

13
#164 - JL T / @l0f4r0

07/19/2020 at 09:30PM

13
#165 - VQvMoKsy / @QvKsy

07/31/2020 at 07:20AM

13
#166 - Martin Bielik / @mabielik

09/05/2020 at 10:08PM

13
#167 - lamtt77 / @lamtt77

10/11/2020 at 04:05AM

13
#168 - Leland Paul Kusmer / @lelandpaul

10/20/2020 at 04:17PM

13
#169 - chocolate / @chocola81394123

10/28/2020 at 04:37PM

13
#170 - hepebexè / @hepebexe

11/16/2020 at 08:51PM

13
#171 - Serhiy Prikhodko / @mastersnetru

11/21/2020 at 08:32PM

13
#172 - quemeraisc / @quemeraisc

11/24/2020 at 01:26PM

13
#173 - Trong Kha Nguyen / @__ngtrongkha

11/25/2020 at 02:31AM

13
#174 - roudens / @roudens2

12/19/2020 at 10:13AM

13
#175 - John Doe / @JohnDoe75830353

12/26/2020 at 01:15PM

13
#176 - Jung Yeon Park / @park_jungy

01/05/2021 at 10:39PM

13
#177 - A A A / @37fatos

01/12/2021 at 02:05AM

14
#178 - Jeanno / @JeannoHS

06/27/2016 at 03:59AM

14
#179 - Perry van Schaijk / @PvSchaijk

06/30/2016 at 01:22PM

14
#180 - Sandeep Dhavale / @sandeep_dhavale

07/19/2016 at 10:09PM