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

205 active golfers, 730 entries

Leaderboard (lowest score wins):
26
#1 - harmony_krieg / @harmony_krieg

10/20/2019 at 11:38AM

26
#2 - Melvin Cheung / @MelvinCheung

11/07/2019 at 01:58PM

26
#3 - Daniel Klepacki / @daniel_klepacki

11/11/2019 at 12:13PM

26
#4 - eshel / @EshelBM

11/16/2019 at 01:58PM

26
#5 - Hector Ricardo / @Hector_Ricardo3

11/29/2019 at 09:18PM

26
#6 - Lion de Bell / @CLGBamboo

12/01/2019 at 04:13PM

27
#7 - Andrey / @andreyrmg

09/16/2019 at 10:51AM

27
#8 - Oskar Fridell / @rax0m

09/16/2019 at 10:58AM

27
#9 - Saki Gw / @Sakigw

09/16/2019 at 11:04AM

27
#10 - EL KESRI Othmane / @KesriOthmane

09/16/2019 at 01:02PM

27
#11 - Douglas Massolari / @dmassolari

09/16/2019 at 02:18PM

27
#12 - Titouan Teyssier / @TitouanT_

09/16/2019 at 03:40PM

27
#13 - John Braxler / @braxler

09/16/2019 at 04:34PM

27
#14 - Daniel Steinberg / @dstein64

09/16/2019 at 06:51PM

27
#15 - Alexander L. / @Lexol4s

09/16/2019 at 09:00PM

27
#16 - Gasol Wu / @gasolwu

09/17/2019 at 02:55AM

27
#17 - Cassandra / @kascein

09/17/2019 at 07:22AM

27
#18 - garry quested / @GQuested

09/17/2019 at 08:52AM

27
#19 - Smylers / @Smylers2

09/17/2019 at 01:37PM

27
#20 - nefforr / @yayamip

09/17/2019 at 02:27PM

27
#21 - Tinko Minko / @tandikula

09/17/2019 at 08:19PM

27
#22 - Francisco Romero / @PanchoopRomero

09/17/2019 at 10:52PM

27
#23 - Iggy / @iggredible

09/18/2019 at 03:51AM

27
#24 - Viktor Styrud / @ViktorStyrud

09/18/2019 at 08:56AM

27
#25 - Ollin Boer Bohan / @madebyollin

09/18/2019 at 02:25PM

27
#26 - aᵣᵤhᵢ / @aruhi_

09/20/2019 at 02:19PM

27
#27 - Ron Holt / @ron_holt

09/20/2019 at 05:40PM

27
#28 - Michał Łowicki / @mlowicki

09/20/2019 at 07:31PM

27
#29 - Bellator nobilis / @BNobilis

09/20/2019 at 08:39PM

27
#30 - Clmi / @c_decaf

09/21/2019 at 09:05AM