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 @Seve_py:

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

472 active golfers, 1918 entries

Solutions by @Seve_py:
27
#152 - Seve / @Seve_py

04/09/2020 at 12:21PM

28
#>217 - Seve / @Seve_py

04/09/2020 at 11:01AM

28
#>217 - Seve / @Seve_py

04/09/2020 at 11:26AM

28
#>217 - Seve / @Seve_py

04/09/2020 at 12:08PM

28
#>217 - Seve / @Seve_py

04/09/2020 at 12:18PM

29
#>243 - Seve / @Seve_py

04/09/2020 at 10:27AM

29
#>243 - Seve / @Seve_py

04/09/2020 at 10:42AM

29
#>243 - Seve / @Seve_py

04/09/2020 at 10:53AM

29
#>243 - Seve / @Seve_py

04/09/2020 at 11:55AM

30
#>270 - Seve / @Seve_py

04/09/2020 at 10:22AM

30
#>270 - Seve / @Seve_py

04/09/2020 at 11:33AM

31
#>287 - Seve / @Seve_py

04/09/2020 at 10:19AM

31
#>287 - Seve / @Seve_py

04/09/2020 at 10:33AM

31
#>287 - Seve / @Seve_py

04/09/2020 at 11:06AM

33
#>323 - Seve / @Seve_py

04/09/2020 at 10:03AM

34
#>341 - Seve / @Seve_py

04/09/2020 at 10:11AM

38
#>396 - Seve / @Seve_py

04/09/2020 at 10:01AM

40
#>413 - Seve / @Seve_py

04/09/2020 at 09:58AM