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

429 active golfers, 1707 entries

Leaderboard (lowest score wins):
58
#421 - Rajasegar Chandran / @rajasegar_c

09/25/2019 at 05:18AM

60
#422 - Sverre Rakkenes / @_Snap_

10/04/2019 at 11:21AM

60
#423 - Aaron Harris / @TheJoyOfPython

12/04/2019 at 01:53PM

60
#424 - dzungtran / @dzungtran89

09/19/2020 at 02:04AM

61
#425 - robikudor / @robikudor

09/19/2019 at 10:38AM

61
#426 - Zachary Peterson / @zpeterson16

01/14/2020 at 04:51AM

61
#427 - Alvaro Melendez / @alvaromelendezh

02/21/2020 at 02:56PM

66
#428 - Tyavin Paul / @vinograd19

09/20/2019 at 05:34PM

67
#429 - Matt Deakos / @MattDeakos

11/28/2019 at 04:28AM