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 5d7f565deac0df000cfc2154

Line under headers

Put a line under each header, and remove the other markdown formatting.

Start file
## Headers

## To

## Underline
End file
Headers
-------

Are
---

Underlined
----------

View Diff

1c1,2
< ## Headers
---
> Headers
> -------
3c4,5
< ## To
---
> Are
> ---
5c7,8
< ## Underline
---
> Underlined
> ----------

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 387 remaining solutions by signing in and submitting your own entry
#388 Matt Deakos / @MattDeakos - Score: 67 - 11/28/19 @ 04:28
dtHo<C-O>7i-<Esc><Esc><Esc><Esc><Esc><Esc><Esc><Esc><Esc><Esc><Esc>2jccAre<CR>---<Esc><Esc><Esc><Esc><Esc><Esc><Esc><Esc><Esc><Esc><Esc>jjdbxAd<CR><C-O>10i-<Esc><Esc><Esc><Esc><Esc><Esc><Esc><Esc><Esc><Esc><Esc>ZZ

0 comments


Created by: @rax0m

388 active golfers, 1528 entries

Leaderboard (lowest score wins):
26
#31 - hokonch / @hokonch

01/04/2020 at 05:47PM

26
#32 - caffeineism / @caffeineism

01/06/2020 at 02:38AM

26
#33 - hereforthepermission / @herefortheperm1

01/20/2020 at 02:22PM

26
#34 - く / @noblack_nolife

01/21/2020 at 08:49AM

26
#35 - KingYames / @JamesZeHunter

02/17/2020 at 05:55AM

26
#36 - golferN / @golferN3

02/28/2020 at 06:17PM

26
#37 - floyd / @floyd10086

03/01/2020 at 05:32PM

26
#38 - Paul Parker / @PaulDesmoParker

03/09/2020 at 12:13AM

26
#39 - 薛浩滎 / @iTPChbTeI4ZW9s3

03/15/2020 at 08:45PM

26
#40 - BnnGolfer / @BnnGolfer

03/21/2020 at 12:54AM

26
#41 - r4d1um / @r4d1um

03/21/2020 at 04:52PM

26
#42 - Michael Brauweiler / @m_brauweiler

03/22/2020 at 05:28PM

26
#43 - Toby Hawkins / @Toby_Hawkins

03/24/2020 at 06:38PM

26
#44 - mury liang / @muryliang

04/07/2020 at 02:06PM

26
#45 - Moatvald / @moatvald

04/13/2020 at 10:59AM

26
#46 - Andreas Buhr / @andreas_buhr

05/21/2020 at 05:49PM

26
#47 - Romain / @djizeuscoco

06/10/2020 at 05:02PM

26
#48 - speisz / @speiszc

06/25/2020 at 10:23PM

26
#49 - mocihan / @mocihan

06/29/2020 at 07:05AM

27
#50 - Andrey / @andreyrmg

09/16/2019 at 10:51AM

27
#51 - Oskar Fridell / @rax0m

09/16/2019 at 10:58AM

27
#52 - EL KESRI Othmane / @KesriOthmane

09/16/2019 at 01:02PM

27
#53 - Douglas Massolari / @dmassolari

09/16/2019 at 02:18PM

27
#54 - Titouan Teyssier / @TitouanT_

09/16/2019 at 03:40PM

27
#55 - John Braxler / @braxler

09/16/2019 at 04:34PM

27
#56 - Daniel Steinberg / @dstein64

09/16/2019 at 06:51PM

27
#57 - Alexander L. / @Lexol4s

09/16/2019 at 09:00PM

27
#58 - Gasol Wu / @gasolwu

09/17/2019 at 02:55AM

27
#59 - Cassandra / @kascein

09/17/2019 at 07:22AM

27
#60 - garry quested / @GQuested

09/17/2019 at 08:52AM