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 27 remaining solutions by signing in and submitting your own entry
#28 Roland Schatz / @fl_Overmind - Score: 29 - 07/15/13 @ 14:44
/[<CR>yWqa<CR>Pgwjv0r qnn3@anyW@aZZ

0 comments


#29 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


#30 Alex / @AlexanderHeatl2 - Score: 29 - 07/08/22 @ 21:50
/[<CR>yWqq<CR>Pgwjv0r qnn3@qnyW@@ZZ

0 comments


Created by: @aditcr8

30 active golfers, 72 entries

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

07/15/2013 at 06:17PM

17
#2 - John Braxler / @braxler

06/18/2019 at 03:46PM

17
#3 - Peppa Pig / @PeppaPigSg

07/03/2024 at 05:13AM

18
#4 - Ingo / @ist3fani

07/18/2013 at 08:12PM

18
#5 - Petro Тrouq / @zulolosi

08/30/2013 at 12:52PM

18
#6 - russellzhaomao / @russellzhaomao

06/12/2022 at 02:18AM

19
#7 - Rainer Koirikivi / @rkoiriki

07/18/2013 at 11:06AM

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

07/19/2013 at 06:54PM

20
#9 - Hachez Floran / @FloranHachez

09/07/2013 at 09:20AM

20
#10 - James / @Dronak

09/22/2014 at 02:41AM

20
#11 - Skúli Jóhannsson / @skulibj

06/26/2015 at 06:08PM

21
#12 - Woojung Kim 김우중 / @_kimwz

07/16/2013 at 04:57AM

22
#13 - Christopher Bahr / @bahrware

07/15/2013 at 05:43PM

23
#14 - Steve Tjoa / @stevetjoa

07/16/2013 at 07:20AM

23
#15 - James Davis / @tripvg

07/17/2013 at 06:16PM

24
#16 - cj / @cj01101

08/05/2013 at 03:57AM

25
#17 - Aaron Bieber / @aaronbieber

07/15/2013 at 09:35PM

25
#18 - Vestrobaa / @Vestrobaa

07/18/2013 at 10:37PM

25
#19 - Felipe Jaramillo F / @mrfelipe

04/17/2014 at 11:19PM

25
#20 - Carlos A Henríquez Q / @lagunex

01/19/2015 at 01:26PM

26
#21 - RobertT / @techrt2050

07/16/2013 at 04:16AM

26
#22 - Joonas Pihlajamaa / @jokkebk

04/01/2014 at 11:52AM

27
#23 - Kai Yuan / @kentyuan

07/15/2013 at 03:21PM

27
#24 - brett / @brettyukich

09/22/2013 at 01:47PM

27
#25 - US Dollar Price / @USDollarPrice

11/05/2013 at 12:02AM

28
#26 - Huu Nguyen / @huudev

07/19/2013 at 03:31PM

28
#27 - nickGPT / @nickandbro

08/28/2024 at 06:20PM

29
#28 - Roland Schatz / @fl_Overmind

07/15/2013 at 02:44PM

29
#29 - Caek / @Caek_

08/06/2014 at 05:05AM

29
#30 - Alex / @AlexanderHeatl2

07/08/2022 at 09:50PM