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 51e3f82a0754780002000078

Hanging Indent for Footnotes

Format this footnote (in kramdown syntax) so that it has hanging indent.

Start file
[^1]: Term regarding a generally obsolete type of website back when websites
focused less on interactive features and more just on text.

[^5]: Eroge company. Feel free to Google if you want, but beware of NSFW.

[^8]: Kuroneko says that he confessed his love, but never really specifies who
he confessed his love about (an ambiguity that is much more pronounced in
Japanese than in English). A more literal interpretation of her statement might
be “He made a statement of love to me.”

[^10]: This was literally “homoge.” I could have translated it to yaoi or BL,
but this way of saying it carries a slightly more negative connotation.

End file
[^1]: Term regarding a generally obsolete type of website back when websites
      focused less on interactive features and more just on text.

[^5]: Eroge company. Feel free to Google if you want, but beware of NSFW.

[^8]: Kuroneko says that he confessed his love, but never really specifies who
      he confessed his love about (an ambiguity that is much more pronounced in
      Japanese than in English). A more literal interpretation of her statement
      might be “He made a statement of love to me.”

[^10]: This was literally “homoge.” I could have translated it to yaoi or BL,
       but this way of saying it carries a slightly more negative connotation.

View Diff

3c3
< focused less on interactive features and more just on text.
---
>       focused less on interactive features and more just on text.
8,10c8,10
< he confessed his love about (an ambiguity that is much more pronounced in
< Japanese than in English). A more literal interpretation of her statement might
< be “He made a statement of love to me.”
---
>       he confessed his love about (an ambiguity that is much more pronounced in
>       Japanese than in English). A more literal interpretation of her statement
>       might be “He made a statement of love to me.”
13c13
< but this way of saying it carries a slightly more negative connotation.
---
>        but this way of saying it carries a slightly more negative connotation.

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 20 remaining solutions by signing in and submitting your own entry
#21 Kai Yuan / kentyuan - Score: 27 - 07/15/13 @ 15:21
:v/^[\n[]/no<S-Tab>6i <CR>i <Esc>4kgqjZZ

0 comments

#22 brett / brettyukich - Score: 27 - 09/22/13 @ 13:47
:g/^\w/no<S-Tab>6i <CR>a <Esc>4kJbhi<CR><Esc>ZZ

0 comments

#23 US Dollar Price / USDollarPrice - Score: 27 - 11/05/13 @ 00:02
:v/^[\n[]/no<S-Tab>6i <CR>i <Esc>4kgqjZZ

0 comments

#24 Huu Nguyen / huudev - Score: 28 - 07/19/13 @ 15:31
jj6i <Esc>5j0.j0.Jbi<BS><CR><Esc>3j07i <Esc>ZZ

0 comments

#25 Roland Schatz / fl_Overmind - Score: 29 - 07/15/13 @ 14:44
/[<CR>yWqa<CR>Pgwjv0r qnn3@anyW@aZZ

0 comments

#26 Caek / Caek_ - Score: 29 - 08/06/14 @ 05:05
:g/^\w/no<S-Tab>6i <CR>i <Esc>3-i<C-P> <Esc>k$6XZZ

0 comments

Created by: aditcr8

26 active golfers, 57 entries

Leaderboard (lowest score wins):
17
#1 - Urtica dioica / udioica

07/15/2013 at 06:17PM

18
#2 - Ingo / ist3fani

07/18/2013 at 08:12PM

18
#3 - Petro Тrouq / zulolosi

08/30/2013 at 12:52PM

18
#4 - John Braxler / braxler

08/21/2014 at 05:06PM

19
#5 - Rainer Koirikivi / rkoiriki

07/18/2013 at 11:06AM

19
#6 - ———đίxίє—flαтlίиє——— / _dixie_flatline

07/19/2013 at 06:54PM

20
#7 - Hachez Floran / FloranHachez

09/07/2013 at 09:20AM

20
#8 - James / Dronak

09/22/2014 at 02:41AM

20
#9 - Skúli Jóhannsson / skulibj

06/26/2015 at 06:08PM

21
#10 - Woojung Kim 김우중 / _kimwz

07/16/2013 at 04:57AM

22
#11 - Christopher Bahr / bahrware

07/15/2013 at 05:43PM

23
#12 - Steve Tjoa / stevetjoa

07/16/2013 at 07:20AM

23
#13 - James Davis / tripvg

07/17/2013 at 06:16PM

24
#14 - cj / cj01101

08/05/2013 at 03:57AM

25
#15 - Aaron Bieber / aaronbieber

07/15/2013 at 09:35PM

25
#16 - Vestrobaa / Vestrobaa

07/18/2013 at 10:37PM

25
#17 - Felipe Jaramillo F / mrfelipe

04/17/2014 at 11:19PM

25
#18 - Carlos A Henríquez Q / lagunex

01/19/2015 at 01:26PM

26
#19 - RobertT / techrt2050

07/16/2013 at 04:16AM

26
#20 - Joonas Pihlajamaa / jokkebk

04/01/2014 at 11:52AM

27
#21 - Kai Yuan / kentyuan

07/15/2013 at 03:21PM

27
#22 - brett / brettyukich

09/22/2013 at 01:47PM

27
#23 - US Dollar Price / USDollarPrice

11/05/2013 at 12:02AM

28
#24 - Huu Nguyen / huudev

07/19/2013 at 03:31PM

29
#25 - Roland Schatz / fl_Overmind

07/15/2013 at 02:44PM

29
#26 - Caek / Caek_

08/06/2014 at 05:05AM