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

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

510 active golfers, 2072 entries

Solutions by @etothepi16:
24
#19 - Paul McDowell / @etothepi16

05/23/2024 at 08:28PM

25
#>53 - Paul McDowell / @etothepi16

05/23/2024 at 08:27PM

26
#>90 - Paul McDowell / @etothepi16

05/23/2024 at 08:25PM

27
#>204 - Paul McDowell / @etothepi16

05/23/2024 at 08:23PM

28
#>243 - Paul McDowell / @etothepi16

05/23/2024 at 08:23PM

29
#>275 - Paul McDowell / @etothepi16

05/23/2024 at 08:20PM

31
#>313 - Paul McDowell / @etothepi16

05/23/2024 at 08:02PM

33
#>351 - Paul McDowell / @etothepi16

05/23/2024 at 08:00PM

36
#>402 - Paul McDowell / @etothepi16

05/23/2024 at 07:55PM

37
#>418 - Paul McDowell / @etothepi16

05/23/2024 at 07:53PM

41
#>455 - Paul McDowell / @etothepi16

05/23/2024 at 07:51PM

46
#>476 - Paul McDowell / @etothepi16

05/23/2024 at 07:45PM