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

454 active golfers, 1832 entries

Leaderboard (lowest score wins):
27
#151 - Pawel Wenda / @pwlwnd

05/13/2020 at 10:42AM

27
#152 - 于吉星 / @fishermryn

05/23/2020 at 06:12AM

27
#153 - Sven Kõiv / @KoivSven

05/23/2020 at 05:56PM

27
#154 - Vim Golfer / @vimgolfing

05/24/2020 at 02:40PM

27
#155 - Bob / @Bob37174065

06/01/2020 at 03:12PM

27
#156 - vimgolf-sensei / @VimgolfS

06/03/2020 at 01:55PM

27
#157 - otfsenter / @otfsenter

06/03/2020 at 04:14PM

27
#158 - JLObject / @powful_panda

07/01/2020 at 08:12PM

27
#159 - Mitchell Horning / @HorningMitchell

07/04/2020 at 02:06PM

27
#160 - L Z / @unidevel

07/06/2020 at 02:53PM

27
#161 - smlbrngr / @smlbrngr

07/13/2020 at 04:12PM

27
#162 - Dmitry Branitskiy / @b1azer

07/15/2020 at 05:52PM

27
#163 - Виталий Макаров / @avada_keda_bra

07/16/2020 at 10:09PM

27
#164 - Jason / @jason_eveleth

07/23/2020 at 09:24AM

27
#165 - Norman Liu / @normanwliu

07/25/2020 at 11:52PM

27
#166 - Luc Kien Hang / @luckienhang

09/04/2020 at 02:07AM

27
#167 - akouryy / @akouryy1

09/07/2020 at 05:04AM

27
#168 - GenericHardwareGamer / @GnrikHrdwrGamer

09/07/2020 at 12:20PM

27
#169 - AAbraxas / @AAbraxas1

10/13/2020 at 07:51PM

27
#170 - Leland Paul Kusmer / @lelandpaul

10/21/2020 at 02:15PM

27
#171 - wilsonept / @wilsonept1

10/26/2020 at 10:47PM

27
#172 - quemeraisc / @quemeraisc

11/05/2020 at 11:06AM

27
#173 - Miłosz Łakomy / @foobar01123

11/11/2020 at 02:20PM

27
#174 - MrRubiksSC / @RubiksSc

11/27/2020 at 03:09AM

27
#175 - Hugh / @haquaman

11/30/2020 at 10:23PM

27
#176 - Dax / @zacoxi

12/11/2020 at 05:37AM

27
#177 - Jon Krause / @jkrause314

12/15/2020 at 02:03AM

27
#178 - Andreas Siegrist / @andreaszwei

01/21/2021 at 07:18PM

28
#179 - Jan Bundesmann / @janbundesmann

09/16/2019 at 10:54AM

28
#180 - theBecwar / @thebecwar

09/16/2019 at 11:41AM