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 by @delonleonard:

Unlock 12 remaining solutions by signing in and submitting your own entry
Created by: @rax0m

470 active golfers, 1911 entries

Solutions by @delonleonard:
27
#138 - Delon / @delonleonard

12/22/2019 at 05:10AM

28
#>208 - Delon / @delonleonard

12/22/2019 at 05:09AM

29
#>235 - Delon / @delonleonard

12/22/2019 at 05:07AM

30
#>261 - Delon / @delonleonard

12/22/2019 at 05:06AM

31
#>280 - Delon / @delonleonard

12/22/2019 at 05:04AM

32
#>299 - Delon / @delonleonard

12/22/2019 at 05:02AM

34
#>337 - Delon / @delonleonard

12/22/2019 at 05:01AM

35
#>351 - Delon / @delonleonard

12/22/2019 at 05:00AM

36
#>366 - Delon / @delonleonard

12/22/2019 at 03:18AM

42
#>419 - Delon / @delonleonard

12/22/2019 at 03:13AM

48
#>440 - Delon / @delonleonard

12/22/2019 at 02:40AM

48
#>440 - Delon / @delonleonard

12/22/2019 at 03:03AM