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

456 active golfers, 1849 entries

Leaderboard (lowest score wins):
32
#301 - Demian Martinez / @demianuco

11/02/2020 at 12:41AM

33
#302 - Walker Boh / @walker_boh

09/16/2019 at 10:37AM

33
#303 - Jason Birchall / @jsonBirchall

09/16/2019 at 05:21PM

33
#304 - Harold / @haroldmrt

09/23/2019 at 08:58AM

33
#305 - Elton Kamami / @pixel_grid

09/27/2019 at 08:49PM

33
#306 - Sam O'Malley / @Samuel_OMalley

10/11/2019 at 02:52PM

33
#307 - Jörg Meyer / @JoergMy

10/19/2019 at 07:09PM

33
#308 - Lie Ryan / @lieryan

10/21/2019 at 10:32AM

33
#309 - James Houghton / @jamesthoughton

11/10/2019 at 10:52PM

33
#310 - zlogan / @zlogan2003

11/24/2019 at 06:00PM

33
#311 - Oleg / @colega

01/04/2020 at 01:00AM

33
#312 - Sebastien Nicoud / @sebnukem

01/04/2020 at 11:23PM

33
#313 - John / @Guyer250

01/20/2020 at 04:50PM

33
#314 - RockerZZY / @rocker_zzy

05/31/2020 at 03:38AM

33
#315 - vimspam / @vimspam

11/09/2020 at 05:36AM

34
#316 - Pogues 123 / @123Pogues

09/16/2019 at 08:23PM

34
#317 - Urbanovics Péter / @UrbanovicsP

09/17/2019 at 09:05AM

34
#318 - Jonathan Lozinski / @jlozinski

09/18/2019 at 12:10PM

34
#319 - Phrasendroschke / @phrasendroschke

09/18/2019 at 01:32PM

34
#320 - José / @AngelGaldamez

09/22/2019 at 11:15PM

34
#321 - Igor Yalovoy / @ylv_io

09/26/2019 at 10:08PM

34
#322 - Alexander v Trijffel / @avtnl

10/10/2019 at 10:08PM

34
#323 - leo / @leo28356948

10/17/2019 at 04:12AM

34
#324 - roemermeier / @roemermeier

10/19/2019 at 08:12AM

34
#325 - 0xNinja / @0x_Ninja

10/25/2019 at 08:16AM

34
#326 - David / @dalbertom

12/01/2019 at 07:45PM

34
#327 - Jason Neylon / @jasonneylon

12/14/2019 at 12:15PM

34
#328 - John Otters / @OttersJohn

12/15/2019 at 05:28PM

34
#329 - None / @sh1chuang

12/30/2019 at 10:24AM

34
#330 - Rodrigo V. Lopes / @rodvlopes

03/27/2020 at 12:13AM