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

139 active golfers, 411 entries

Leaderboard (lowest score wins):
26
#91 - Lauri Tirkkonen / @lotheac

07/01/2011 at 09:05PM

26
#92 - Timothy Lin / @lzh9102

03/08/2014 at 04:25AM

27
#93 - Ben Lenarts / @benlenarts

01/05/2011 at 08:44PM

27
#94 - Gavin Gilmour / @_gavingilmour

01/05/2011 at 11:29PM

27
#95 - Asmund / @herrasbe

01/06/2011 at 09:42PM

27
#96 - Thomas Schönwälder / @Masei1988

01/12/2011 at 05:07PM

27
#97 - Przemysław Pawełczyk / @przemoc86

01/15/2011 at 10:38PM

27
#98 - Matthieu Honel / @ocus

01/31/2011 at 04:47PM

27
#99 - Misha (Mike) Granin / @Granin

03/14/2011 at 01:19PM

27
#100 - Ben Somers / @somanyrobots

11/30/2011 at 02:23AM

27
#101 - Joonas Pihlajamaa / @jokkebk

02/21/2014 at 09:31AM

27
#102 - Ram Tamtam / @ramtamtamtam

07/02/2014 at 01:25PM

27
#103 - Gurukandhamoorthi / @Gurukandhamoor1

08/13/2017 at 04:09PM

28
#104 - David Goodlad / @dgoodlad

01/05/2011 at 09:31PM

28
#105 - dave lyons / @loadedfingers

01/06/2011 at 11:51AM

28
#106 - nicholas a. evans / @nick_evans

01/07/2011 at 07:38PM

28
#107 - Paul Tarjan / @ptarjan

01/08/2011 at 10:19AM

28
#108 - Shawn / @sartak

04/23/2011 at 07:32PM

28
#109 - Dave / @zzdave13

07/25/2011 at 07:58AM

28
#110 - Philipp Melab / @pmelab

08/31/2011 at 08:00PM

28
#111 - Matt / @meagar

09/07/2011 at 08:38PM

28
#112 - James Freed / @JamesTFreed

02/03/2012 at 01:42AM

28
#113 - Peter Jetbeard / @Jetbeard

02/07/2012 at 12:25AM

28
#114 - Nolen Royalty / @NolenRoyalty

04/21/2012 at 02:58AM

28
#115 - Daniel / @Daniel00288663

04/05/2017 at 02:48PM

29
#116 - James Cash / @jamesnvc

01/05/2011 at 02:02PM

29
#117 - Su. / @0moMi

01/06/2011 at 02:25AM

29
#118 - Jordan Lewis / @JordanALewis

01/06/2011 at 09:35PM

29
#119 - z_r_a / @z_r_a

10/21/2020 at 07:20AM

29
#120 - shahanavaz m / @shahanavazm

02/16/2022 at 03:26AM