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

393 active golfers, 1541 entries

Leaderboard (lowest score wins):
29
#181 - Marco Mannucci / @markomannux

09/18/2019 at 05:29PM

29
#182 - Miko / @_m_ik_o_

09/24/2019 at 02:37PM

29
#183 - lofoneax / @lofoneax

09/24/2019 at 08:19PM

29
#184 - arsi arola / @mos_kiitto

10/18/2019 at 11:25AM

29
#185 - Winston Smith / @winstonCodes

10/30/2019 at 09:36PM

29
#186 - Ebi / @ehan6

11/08/2019 at 09:09PM

29
#187 - Gianluca Scacco / @gscacco

11/10/2019 at 01:46PM

29
#188 - bassnecter / @lothedr

11/23/2019 at 03:48PM

29
#189 - Roger Bongers / @RogerBongers

12/01/2019 at 03:15AM

29
#190 - Nicolas Pagny / @NicolasPagny

12/02/2019 at 04:25PM

29
#191 - 990 / @nisibasi990

12/03/2019 at 02:15PM

29
#192 - tomo@D2S / @e_2_718281828

12/06/2019 at 01:58PM

29
#193 - Jonathan Jeffrey / @projjects

12/06/2019 at 08:49PM

29
#194 - Wim Stockman / @StockmanWim

01/09/2020 at 03:39PM

29
#195 - Łukasz / @_pixsll

01/22/2020 at 07:44AM

29
#196 - Ali Kero / @stochastist

02/13/2020 at 10:36PM

29
#197 - 廖彥智 / @JeffYenchih

03/09/2020 at 09:54AM

29
#198 - majo senf / @majo_senf

03/23/2020 at 02:39PM

29
#199 - bluemartian / @bluemartianz59

03/26/2020 at 06:24PM

29
#200 - RaylanFox / @RaylanFox

04/11/2020 at 04:28PM

29
#201 - John Sumner / @rjsumner

04/28/2020 at 12:19PM

29
#202 - Laurent Atlan / @laurentatlan1

05/11/2020 at 12:14PM

29
#203 - Quentin Leroy / @qnleroy

05/13/2020 at 06:17AM

29
#204 - Kevin Keefe / @KevinKeefe5

05/15/2020 at 04:41PM

29
#205 - pady. 🇪🇺 🇩🇪 🇷🇴 / @hundertzwoelf_

05/26/2020 at 02:34PM

29
#206 - Lakshitha Wijesinghe / @lakshithaww

06/21/2020 at 07:02AM

29
#207 - vito / @vito49999722

08/01/2020 at 07:20AM

30
#208 - A / @Tower_1980

09/21/2019 at 01:56PM

30
#209 - Jonathan Eidsness / @jonathaneidsnes

09/22/2019 at 01:04PM

30
#210 - majuscule / @majuscule13

09/24/2019 at 09:00PM