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

388 active golfers, 1528 entries

Leaderboard (lowest score wins):
46
#361 - David Cherednik / @david_cherednik

05/22/2020 at 06:56PM

47
#362 - Michael Haddad / @mrhaddad

09/16/2019 at 03:32PM

47
#363 - Thomas Edlich / @grumpybavarian

09/27/2019 at 08:56PM

47
#364 - Jonathan Yong / @yongrenjie

11/28/2019 at 05:34PM

47
#365 - Richard Pape / @Drippydik187

04/05/2020 at 04:16PM

48
#366 - Josep / @Joseptec

12/23/2019 at 11:49AM

49
#367 - Bruno Machado / @brunosmmachado

10/20/2019 at 11:19AM

49
#368 - Daniel Johnston / @Dan8720Dj

02/03/2020 at 05:51PM

49
#369 - seul / @seul15987381

04/21/2020 at 11:55AM

50
#370 - Soptik / @Soptik3

09/24/2019 at 09:02PM

51
#371 - Benjamin Pelletier / @benjipelletier

09/24/2019 at 01:33PM

53
#372 - ahahsod / @ahahsod

10/07/2019 at 09:09AM

53
#373 - Aaron / @_Lordofthevoid_

11/19/2019 at 11:22AM

54
#374 - Ben Lowbridge / @kylar102

10/12/2019 at 12:05AM

54
#375 - Antonio Bayonas / @BayonasAntonio

10/17/2019 at 05:34PM

54
#376 - dahara / @kuma_moooon

10/21/2019 at 10:13AM

54
#377 - Scott Kidder / @scottkidder

05/24/2020 at 02:22AM

55
#378 - masatoyoshioka / @Yoshioka0627

09/27/2019 at 11:58AM

55
#379 - Andrei Popescu / @AndreiTheory

12/09/2019 at 01:09PM

56
#380 - Anil Narayan / @AnilNarayan2013

07/23/2020 at 03:23AM

58
#381 - Rajasegar Chandran / @rajasegar_c

09/25/2019 at 05:18AM

60
#382 - Sverre Rakkenes / @_Snap_

10/04/2019 at 11:21AM

60
#383 - Aaron Harris / @TheJoyOfPython

12/04/2019 at 01:53PM

61
#384 - robikudor / @robikudor

09/19/2019 at 10:38AM

61
#385 - Zachary Peterson / @zpeterson16

01/14/2020 at 04:51AM

61
#386 - Alvaro Melendez / @alvaromelendezh

02/21/2020 at 02:56PM

66
#387 - Tyavin Paul / @vinograd19

09/20/2019 at 05:34PM

67
#388 - Matt Deakos / @MattDeakos

11/28/2019 at 04:28AM