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

259 active golfers, 973 entries

Leaderboard (lowest score wins):
25
#1 - Maksim / @its_terra

12/30/2019 at 11:04PM

25
#2 - Saki Gw / @Sakigw

01/02/2020 at 05:04PM

25
#3 - Tefe / @tefetic

01/02/2020 at 09:32PM

25
#4 - Tyler Culdler / @culdler

01/08/2020 at 06:24AM

25
#5 - lev / @nouvelliu

01/10/2020 at 03:30AM

25
#6 - Stefan Bjarnason / @stefanttb

01/12/2020 at 12:11AM

26
#7 - harmony_krieg / @harmony_krieg

10/20/2019 at 11:38AM

26
#8 - Melvin Cheung / @MelvinCheung

11/07/2019 at 01:58PM

26
#9 - Daniel Klepacki / @daniel_klepacki

11/11/2019 at 12:13PM

26
#10 - eshel / @EshelBM

11/16/2019 at 01:58PM

26
#11 - Hector Ricardo / @Hector_Ricardo3

11/29/2019 at 09:18PM

26
#12 - Lion de Bell / @CLGBamboo

12/01/2019 at 04:13PM

26
#13 - Adam Katz / @AdamKat01277576

12/10/2019 at 12:00PM

26
#14 - sapir malka / @sapir5522

12/26/2019 at 07:48AM

26
#15 - zqi / @zq11110320

12/27/2019 at 06:36AM

26
#16 - JimmyGymglish / @JGymglish

12/27/2019 at 03:44PM

26
#17 - hokonch / @hokonch

01/04/2020 at 05:47PM

26
#18 - caffeineism / @caffeineism

01/06/2020 at 02:38AM

26
#19 - hereforthepermission / @herefortheperm1

01/20/2020 at 02:22PM

26
#20 - く / @noblack_nolife

01/21/2020 at 08:49AM

27
#21 - Andrey / @andreyrmg

09/16/2019 at 10:51AM

27
#22 - Oskar Fridell / @rax0m

09/16/2019 at 10:58AM

27
#23 - EL KESRI Othmane / @KesriOthmane

09/16/2019 at 01:02PM

27
#24 - Douglas Massolari / @dmassolari

09/16/2019 at 02:18PM

27
#25 - Titouan Teyssier / @TitouanT_

09/16/2019 at 03:40PM

27
#26 - John Braxler / @braxler

09/16/2019 at 04:34PM

27
#27 - Daniel Steinberg / @dstein64

09/16/2019 at 06:51PM

27
#28 - Alexander L. / @Lexol4s

09/16/2019 at 09:00PM

27
#29 - Gasol Wu / @gasolwu

09/17/2019 at 02:55AM

27
#30 - Cassandra / @kascein

09/17/2019 at 07:22AM