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

419 active golfers, 1667 entries

Leaderboard (lowest score wins):
31
#241 - Gammelin Guillaume / @ggammelin

09/16/2019 at 01:25PM

31
#242 - John / @JohnJDoe2

09/17/2019 at 09:14AM

31
#243 - Khamnhoui-Boulom / @k_nhoui

09/24/2019 at 04:08AM

31
#244 - sooqua / @sooqua

10/16/2019 at 08:14AM

31
#245 - Alex Schultz / @Pumpkinhead002

10/16/2019 at 02:49PM

31
#246 - Alex Emelianov / @AlexEmelianov3

10/20/2019 at 01:34AM

31
#247 - vimgolfer / @vimgolfer9

11/03/2019 at 01:11PM

31
#248 - LinusPoutine / @LinusPoutine

11/13/2019 at 05:00PM

31
#249 - Minyi Zhong / @minyi_zhong

11/22/2019 at 09:35AM

31
#250 - adamtobias / @adamtobias

12/26/2019 at 09:12PM

31
#251 - Bashar Jaan Khan / @basharjaankhan

01/07/2020 at 06:05PM

31
#252 - Nguyen Van Bac / @taybacvt

01/18/2020 at 02:36PM

31
#253 - Mikael Brassman / @spoike

03/03/2020 at 04:16PM

31
#254 - Marco / @Marco24456514

04/02/2020 at 01:25PM

31
#255 - Valdimar / @genkobar

05/28/2020 at 10:03PM

31
#256 - Ben Simmons / @Simmons_Ben

06/04/2020 at 03:37PM

31
#257 - alrito / @alrito6

09/16/2020 at 07:37AM

32
#258 - Josefina Alconada / @jochiAlconada

10/03/2019 at 10:27AM

32
#259 - Pieter Joost / @pjvds

10/09/2019 at 11:30AM

32
#260 - Simon Wilkinson / @simondwilkinson

10/17/2019 at 10:21PM

32
#261 - MasterFox / @MaestroZorro_

10/22/2019 at 12:50PM

32
#262 - Scott Taylor / @scott11X8

10/25/2019 at 12:34AM

32
#263 - Vivek Menon / @Vvkmnn

11/03/2019 at 10:19AM

32
#264 - alibabadienstaccount / @alibabadiensta1

11/05/2019 at 12:24PM

32
#265 - Chris Covert / @covertcj

11/07/2019 at 02:54PM

32
#266 - Nicolas 👨‍💻🇨🇦 / @martinni39

11/08/2019 at 10:26PM

32
#267 - pysnow530 / @pysnow530

11/18/2019 at 10:57AM

32
#268 - Mike Deakin / @Mick_Deak

11/20/2019 at 01:47PM

32
#269 - Moye_ / @moye_

01/06/2020 at 10:00PM

32
#270 - John Kevin Estrella / @kevsestrella

01/07/2020 at 02:51PM