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

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

507 active golfers, 2059 entries

Solutions by @bornintheflames:
24
#17 - Remus Dalrymple / @bornintheflames

12/22/2023 at 01:44AM

25
#>53 - Remus Dalrymple / @bornintheflames

12/22/2023 at 01:43AM

26
#>89 - Remus Dalrymple / @bornintheflames

12/22/2023 at 01:42AM

27
#>202 - Remus Dalrymple / @bornintheflames

12/21/2023 at 11:37PM

28
#>241 - Remus Dalrymple / @bornintheflames

12/21/2023 at 11:36PM

29
#>274 - Remus Dalrymple / @bornintheflames

12/21/2023 at 11:32PM

34
#>369 - Remus Dalrymple / @bornintheflames

12/21/2023 at 11:30PM