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

126 active golfers, 375 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

23
#11 - Tim Chase / @gumnos

01/05/2011 at 05:07PM

23
#12 - derp derp / @derp__

01/05/2011 at 06:57PM

23
#13 - Wei Dai / @clvv42

01/05/2011 at 09:00PM

23
#14 - dominique pellé / @vimgolfisto

01/06/2011 at 11:03AM

23
#15 - Aaron Bull Schaefer / @elasticdog

01/06/2011 at 09:36PM

23
#16 - Johannes Martinsson / @moxiba

01/07/2011 at 07:17PM

23
#17 - Gael / @darkael2

01/08/2011 at 04:46PM

23
#18 - Saša / @jendvatri

01/09/2011 at 04:27AM

23
#19 - Agus Lopez / @aguslr

01/10/2011 at 10:14PM

23
#20 - dw jdder / @dwjdder

01/11/2011 at 02:44PM

23
#21 - Oleg Roshupkin / @jjjahson

01/20/2011 at 01:23PM

23
#22 - Francesco Degrassi / @EdMcBane

02/13/2011 at 05:13PM

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

06/19/2011 at 09:31AM

23
#24 - (Emile (Swarts)) / @EmileSwarts

06/19/2011 at 04:26PM

23
#25 - Justin Love / @wondible

08/21/2011 at 05:07PM

23
#26 - p0ckets / @p0ckets

10/07/2011 at 08:48PM

23
#27 - You-Siang Lin / @yslinnctu

12/05/2011 at 02:58AM

23
#28 - Xavier Nayrac / @lkdjiin

01/02/2012 at 07:38PM

23
#29 - Marcin Kulik / @sickill

03/14/2012 at 06:46PM

23
#30 - Kerson Hsiao / @KersonHsiao

08/03/2012 at 10:45AM