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 4d2478e20947c63e2600009c

Insert a Markdown link

Put a link in a markdown document, using the after-the-paragraph format.

Start file
Markdown is a text-to-HTML conversion tool for web writers. Markdown allows you
to write
using an easy-to-read, easy-to-write plain text format, then convert
it to structurally valid XHTML
(or HTML).
End file
Markdown is a text-to-HTML conversion tool for web writers. [Markdown][] allows you
to write
using an easy-to-read, easy-to-write plain text format, then convert
it to structurally valid XHTML
(or HTML).

   
[Markdown]:

View Diff

1c1
< Markdown is a text-to-HTML conversion tool for web writers. Markdown allows you
---
> Markdown is a text-to-HTML conversion tool for web writers. [Markdown][] allows you
3a4,5
>
>     [Markdown]:

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 148 remaining solutions by signing in and submitting your own entry
#149 Kelan Champagne / @kelan - Score: 85 - 01/30/11 @ 08:30
*i"<Esc>wwhi"<Esc><Left>ywGuuuuuuuuuuulhi[<Esc>f<Esc><Esc>t<Esc><Esc>ea][]<F1><Esc>:q<CR><Left><Left><Left><Left>ywGoo<BS><CR>    [p<Esc>xp<Esc>u<Right>aMarkdown]:<Esc>:wq<CR>

0 comments


Created by: @jamesnvc

149 active golfers, 450 entries

Leaderboard (lowest score wins):
22
#1 - Federico Galassi / @federicogalassi

01/25/2011 at 10:34PM

22
#2 - vg / @vimgolfer

03/02/2011 at 03:47PM

22
#3 - Ash Searle / @hexmen

03/09/2011 at 10:57PM

22
#4 - Paweu1kZ nbNeyIhH / @yUQlwsFpRSzxJFh

03/20/2011 at 05:58AM

22
#5 - Andrew Dorman / @andydorman

03/22/2011 at 03:49PM

22
#6 - Pei-Lun Lee / @ypcatw

01/18/2012 at 04:16AM

22
#7 - Renat Aksitov / @Korvin79

02/09/2012 at 09:42AM

22
#8 - Petro Тrouq / @zulolosi

07/25/2013 at 04:06AM

22
#9 - Turkey Man / @lvturkeyman

11/28/2017 at 06:28PM

22
#10 - DHM / @DHM29978992

05/27/2018 at 01:59AM

22
#11 - Jean George / @JeanGeo20504212

05/23/2022 at 03:30PM

22
#12 - Qing Liu / @poeminlash

08/04/2022 at 01:59AM

22
#13 - scpchicken / @scpchick

10/31/2023 at 06:02PM

22
#14 - Peppa Pig / @PeppaPigSg

07/03/2024 at 08:36AM

23
#15 - Tim Chase / @gumnos

01/05/2011 at 05:07PM

23
#16 - derp derp / @derp__

01/05/2011 at 06:57PM

23
#17 - Wei Dai / @clvv42

01/05/2011 at 09:00PM

23
#18 - dominique pellé / @vimgolfisto

01/06/2011 at 11:03AM

23
#19 - Aaron Bull Schaefer / @elasticdog

01/06/2011 at 09:36PM

23
#20 - Johannes Martinsson / @moxiba

01/07/2011 at 07:17PM

23
#21 - Gael / @darkael2

01/08/2011 at 04:46PM

23
#22 - Saša / @jendvatri

01/09/2011 at 04:27AM

23
#23 - Agus Lopez / @aguslr

01/10/2011 at 10:14PM

23
#24 - dw jdder / @dwjdder

01/11/2011 at 02:44PM

23
#25 - Oleg Roshupkin / @jjjahson

01/20/2011 at 01:23PM

23
#26 - Francesco Degrassi / @EdMcBane

02/13/2011 at 05:13PM

23
#27 - not so punk :] / @notsopunk

06/19/2011 at 09:31AM

23
#28 - Emile Swarts / @EmileSwarts

06/19/2011 at 04:26PM

23
#29 - Justin Love / @wondible

08/21/2011 at 05:07PM

23
#30 - p0ckets / @p0ckets

10/07/2011 at 08:48PM