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

454 active golfers, 1832 entries

Leaderboard (lowest score wins):
26
#61 - mury liang / @muryliang

04/07/2020 at 02:06PM

26
#62 - Moatvald / @moatvald

04/13/2020 at 10:59AM

26
#63 - Andreas Buhr / @andreas_buhr

05/21/2020 at 05:49PM

26
#64 - Romain / @djizeuscoco

06/10/2020 at 05:02PM

26
#65 - mocihan / @mocihan

06/29/2020 at 07:05AM

26
#66 - Андрей / @appomsk

08/20/2020 at 09:58AM

26
#67 - Piotr Kaznowski / @kaznowski

09/18/2020 at 07:05PM

26
#68 - Leo Winters / @LeoPWinters

10/19/2020 at 06:02PM

26
#69 - Neverlandrunner / @neverlandrunner

12/06/2020 at 06:47AM

26
#70 - nd183 / @nd1832

12/09/2020 at 03:48PM

26
#71 - pherapont / @pherapont1

01/21/2021 at 03:26AM

27
#72 - Andrey / @andreyrmg

09/16/2019 at 10:51AM

27
#73 - Oskar Fridell / @rax0m

09/16/2019 at 10:58AM

27
#74 - EL KESRI Othmane / @KesriOthmane

09/16/2019 at 01:02PM

27
#75 - Douglas Massolari / @dmassolari

09/16/2019 at 02:18PM

27
#76 - Titouan Teyssier / @TitouanT_

09/16/2019 at 03:40PM

27
#77 - Daniel Steinberg / @dstein64

09/16/2019 at 06:51PM

27
#78 - Alexander L. / @Lexol4s

09/16/2019 at 09:00PM

27
#79 - Gasol Wu / @gasolwu

09/17/2019 at 02:55AM

27
#80 - Cassandra / @kascein

09/17/2019 at 07:22AM

27
#81 - garry quested / @GQuested

09/17/2019 at 08:52AM

27
#82 - Smylers / @Smylers2

09/17/2019 at 01:37PM

27
#83 - nefforr / @yayamip

09/17/2019 at 02:27PM

27
#84 - Tinko Minko / @tandikula

09/17/2019 at 08:19PM

27
#85 - Francisco Romero / @PanchoopRomero

09/17/2019 at 10:52PM

27
#86 - Iggy / @iggredible

09/18/2019 at 03:51AM

27
#87 - Viktor Styrud / @ViktorStyrud

09/18/2019 at 08:56AM

27
#88 - Ollin Boer Bohan / @madebyollin

09/18/2019 at 02:25PM

27
#89 - aᵣᵤhᵢ / @aruhi_

09/20/2019 at 02:19PM

27
#90 - Ron Holt / @ron_holt

09/20/2019 at 05:40PM