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

Number an outline

The indent and words are right, but the numbers are all wrong.

Start file
1. One
  1. One
    1. One
  1. Two
    1. One
    1. Two
      1. One
    1. Three
    1. Four
  1. Three
    1. One
      1. One
      1. Two
    1. Two
  1. Four
    1. One
    1. Two
    1. Three
    1. Four
    1. Five
    1. Six
  1. Five
    1. One
    1. Two
    1. Three
1. Two
  1. One
    1. One
    1. Two
    1. Three
    1. Four
    1. Five
  1. Two
End file
1. One
  1. One
    1. One
  2. Two
    1. One
    2. Two
      1. One
    3. Three
    4. Four
  3. Three
    1. One
      1. One
      2. Two
    2. Two
  4. Four
    1. One
    2. Two
    3. Three
    4. Four
    5. Five
    6. Six
  5. Five
    1. One
    2. Two
    3. Three
2. Two
  1. One
    1. One
    2. Two
    3. Three
    4. Four
    5. Five
  2. Two

View Diff

4c4
<   1. Two
---
>   2. Two
6c6
<     1. Two
---
>     2. Two
8,10c8,10
<     1. Three
<     1. Four
<   1. Three
---
>     3. Three
>     4. Four
>   3. Three
13,15c13,15
<       1. Two
<     1. Two
<   1. Four
---
>       2. Two
>     2. Two
>   4. Four
17,22c17,22
<     1. Two
<     1. Three
<     1. Four
<     1. Five
<     1. Six
<   1. Five
---
>     2. Two
>     3. Three
>     4. Four
>     5. Five
>     6. Six
>   5. Five
24,26c24,26
<     1. Two
<     1. Three
< 1. Two
---
>     2. Two
>     3. Three
> 2. Two
29,33c29,33
<     1. Two
<     1. Three
<     1. Four
<     1. Five
<   1. Two
---
>     2. Two
>     3. Three
>     4. Four
>     5. Five
>   2. Two

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 47 remaining solutions by signing in and submitting your own entry
#48 Vestrobaa / Vestrobaa - Score: 68 - 07/21/13 @ 20:12
qa/1. Tw<CR>r2q8@a/1. T<CR>r3n.n.n.n./1. Fo<CR>r4n.n.n./1. F<CR>r5n.n./1. S<CR>r6ZZ

0 comments

#49 Pablo Caro / pcaro90 - Score: 69 - 06/11/13 @ 16:29
/1. tw<CR>r2n.n.n.n.n.n.n.n.?1. t<CR>r3n.n.n.n./1. F<CR>r4n.n.nnn.nr5N.N.jr6ZZ

0 comments

#50 Stefan Antoni / Suchkultur - Score: 69 - 06/18/13 @ 18:12
/1<CR>2n<C-A>2n<C-A>2n2<C-A>n3<C-A>n2<C-A>3n<C-A>n<C-A>n3<C-A>nn<C-A>n2<C-A>n3<C-A>n4<C-A>n5<C-A>n4<C-A>2n<C-A>n2<C-A>n<C-A>3n<C-A>n2<C-A>n3<C-A>n4<C-A>n<C-A>ZZ

0 comments

#51 Thiago Alves / townk - Score: 70 - 07/05/13 @ 06:43
/1<CR>2n<C-A>2n<C-A>2n2<C-A>n3<C-A>n2<C-A>3n<C-A>n<C-A>n2<C-A><C-A>2n<C-A>n2<C-A>n3<C-A>n4<C-A>n5<C-A>n4<C-A>2n<C-A>n2<C-A>n<C-A>3n<C-A>n2<C-A>n3<C-A>n4<C-A>n<C-A>ZZ

0 comments

#52 Al / 96258 - Score: 71 - 06/10/13 @ 01:40
3j<C-A>jj.jj<C-A><C-A>j3.<CR>..uu<C-A><C-A>3j<C-A><CR><C-A><CR>3<C-A>jj<C-A>j<C-A><C-A>j3<C-A>j4<C-A>j5<C-A><CR>4<C-A>jj<C-A>j2<C-A><CR><C-A>3j<C-A>j<C-A><C-A>j3<C-A>j4<C-A>\<CR><C-A>ZZ

0 comments

#53 mnx / mnxx - Score: 71 - 06/11/13 @ 14:48
/1. tw<CR><C-A>n<C-A>n<C-A>n<C-A>n<C-A>n<C-A>n<C-A>n<C-A>n<C-A>/<Up><BS><CR>2<C-A>n.n.n.n./<Up><BS>fo<CR>3<C-A>n.n.n./<Up><BS><CR>4<C-A>n.n./<Up><BS>s<CR>5<C-A>ZZ

0 comments

#54 Oliver Christ / 0liverChrist - Score: 80 - 09/25/13 @ 14:30
:%s/1. Tw/2. Tw<CR>:%s/1. T/3. T<CR>:%s/1. Fo/4. To<BS><BS>Fo<CR>:%s/1. F/5. F<CR>:%s/1. S/6. S<CR>ZZ

0 comments

#55 William Snyders / iam2391212 - Score: 81 - 07/15/13 @ 20:51
/Tw<CR>qa3hr2nnq8@a/Th<CR>qq"aphhqr3qwllvbl"adhq5@a/Fo<CR>@qr4@w4@a/Fi<CR>@qr5@w3@a/Si<CR>3hr6ZZ

0 comments

#56 Michael Coles / gen_ale_drinker - Score: 81 - 08/15/13 @ 16:37
:%s/1. Tw/2. Tw/|%s/1. Th/3. Th/|%s/1. Fo/4. Fo/|%s/1. Fi/5. Fi/|%s/1. S/6. S<CR>ZZZ

0 comments

#57 Bogdan Gusiev / bgusiev - Score: 84 - 06/28/13 @ 07:57
:%s/\d.*\(Tw\)/2. \1<CR>:<Up><Left><Left><Left><Left><BS>3<Left><Left><Left><Left><BS>h<CR>:<Up><C-Left><C-Left><C-Right><Left><BS>4<Left><Left><Left><Left><BS><BS>Fo<CR>:<Up><C-Left><Left><Left><BS>5<Left><Left><Left><Left><BS>i<CR>:<Up><C-Left><Left><Left><BS>6<Left><Left><Left><Left><Left><BS>S<CR>ZZ

0 comments

#58 Jim / BLSJim - Score: 86 - 06/10/13 @ 00:01
:%s/1. Tw/2. Tw/g<CR>:%s/1. T/3. T/g<CR>:%s/1. F/4. F/g<CR>:%s/4. Fi/5. Fi/g<CR>:%s/1. S/6. S/g<CR>ZZ

0 comments

#59 Jonathan Johnson / jonmarkjohnson - Score: 86 - 06/24/13 @ 16:05
:%s/1. Tw/2. Tw/g<CR>:%s/1. T/3. T/g<CR>:%s/1. Fo/4. Fo/g<CR>:%s/1. F/5. F/g<CR>:%s/1. S/6. S/g<CR>ZZ

0 comments

Created by: udioica

59 active golfers, 178 entries

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

06/10/2013 at 10:45AM

25
#2 - Łukasz Bujakowski / eggxtreme

06/28/2013 at 01:56PM

25
#3 - Petro Тrouq / zulolosi

06/29/2013 at 07:26PM

25
#4 - Stephen Drodge / sjdrodge

10/07/2013 at 11:48PM

25
#5 - John Braxler / braxler

04/14/2014 at 03:27PM

28
#6 - Aaron Bieber / aaronbieber

07/14/2013 at 10:05PM

29
#7 - James Davis / tripvg

06/28/2013 at 09:31PM

30
#8 - Bradd Szonye / bszonye

07/10/2013 at 11:01PM

30
#9 - thasso / thasso23

10/30/2013 at 11:14PM

30
#10 - ZorgroZ / ZorgroZ

04/15/2014 at 12:29AM

32
#11 - Kai Yuan / kentyuan

07/04/2013 at 09:21AM

33
#12 - brett / brettyukich

09/21/2013 at 01:05AM

33
#13 - jimauthors / jimauthors

02/13/2014 at 01:01AM

36
#14 - Eric Söderström / eksoderstrom

06/12/2013 at 03:20PM

37
#15 - Krzysztof Adamski / adamski_k

06/23/2013 at 04:16PM

39
#16 - Trevor Powell / DoomedBunnies

06/10/2013 at 07:34AM

40
#17 - _ky_ / ultimate_ky

08/13/2013 at 11:53PM

40
#18 - Joonas Pihlajamaa / jokkebk

03/13/2014 at 10:21AM

40
#19 - Walker Boh / walker_boh

12/15/2015 at 09:25AM

41
#20 - James T. Huggett / Jmeshka

10/03/2013 at 05:09PM

43
#21 - Timothée Gauthier / zmf_tim

07/06/2013 at 02:25PM

43
#22 - cj / cj01101

08/04/2013 at 06:17PM

48
#23 - Justin / justinjaffray

06/14/2013 at 03:11PM

48
#24 - Andrew Crites / ExplosionPills

09/14/2013 at 03:27AM

49
#25 - Ram Tamtam / ramtamtamtam

07/28/2014 at 03:31PM

51
#26 - Victor Ramirez / virako

06/10/2013 at 01:58AM

52
#27 - Volodymyr / vkrest

07/17/2013 at 02:03PM

52
#28 - Alexander Kazakov / volandkot

04/03/2015 at 02:45PM

54
#29 - Eric Dilmore / geppettodivacin

06/27/2013 at 12:48AM

54
#30 - Carlos A Henríquez Q / lagunex

01/19/2015 at 11:27AM

55
#31 - powertomato / powertomato

07/07/2013 at 10:30AM

57
#32 - Eric Potter / pottereric

06/10/2013 at 05:21PM

58
#33 - gary.klindt@googlema / garstekli

11/26/2013 at 04:07PM

59
#34 - くま55 / kumack55

06/10/2013 at 01:08AM

59
#35 - Roland Schatz / fl_Overmind

07/12/2013 at 03:46PM

60
#36 - ———đίxίє—flαтlίиє——— / _dixie_flatline

07/20/2013 at 05:05AM

61
#37 - REPLicated / re_plicated

06/26/2013 at 01:07PM

64
#38 - Ker / alin_ker

06/12/2013 at 01:52PM

64
#39 - Andy Balaam / andybalaam

06/13/2013 at 03:06PM

64
#40 - qtwtetrt / qtwtetrt

06/23/2013 at 02:45PM

65
#41 - Nathan / NathanHarperoni

06/12/2013 at 06:51PM

66
#42 - Javier Blanco / jbgutierrez

06/21/2013 at 07:45PM

66
#43 - Steve Tjoa / stevetjoa

07/03/2013 at 06:19PM

66
#44 - RobertT / techrt2050

07/10/2013 at 06:22AM

66
#45 - James / Dronak

09/01/2013 at 04:28AM

67
#46 - Tullio Facchinetti / toolleeo

08/02/2013 at 12:49PM

67
#47 - Quota / Quotad

02/03/2014 at 10:05AM

68
#48 - Vestrobaa / Vestrobaa

07/21/2013 at 08:12PM

69
#49 - Pablo Caro / pcaro90

06/11/2013 at 04:29PM

69
#50 - Stefan Antoni / Suchkultur

06/18/2013 at 06:12PM

70
#51 - Thiago Alves / townk

07/05/2013 at 06:43AM

71
#52 - Al / 96258

06/10/2013 at 01:40AM

71
#53 - mnx / mnxx

06/11/2013 at 02:48PM

80
#54 - Oliver Christ / 0liverChrist

09/25/2013 at 02:30PM

81
#55 - William Snyders / iam2391212

07/15/2013 at 08:51PM

81
#56 - Michael Coles / gen_ale_drinker

08/15/2013 at 04:37PM

84
#57 - Bogdan Gusiev / bgusiev

06/28/2013 at 07:57AM

86
#58 - Jim / BLSJim

06/10/2013 at 12:01AM

86
#59 - Jonathan Johnson / jonmarkjohnson

06/24/2013 at 04:05PM