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 4d1d0d5e35b40650b8000711

82 bottles of beer on the wall

Take them down. (sorry, only 82 bottles because the problem size is limited!)

Start file
82 bottles of beer on the wall, 82 bottles of beer.
End file
82 bottles of beer on the wall, 82 bottles of beer.
Take one down and pass it around, 81 bottles of beer on the wall.

81 bottles of beer on the wall, 81 bottles of beer.
Take one down and pass it around, 80 bottles of beer on the wall.

80 bottles of beer on the wall, 80 bottles of beer.
Take one down and pass it around, 79 bottles of beer on the wall.

79 bottles of beer on the wall, 79 bottles of beer.
Take one down and pass it around, 78 bottles of beer on the wall.

78 bottles of beer on the wall, 78 bottles of beer.
Take one down and pass it around, 77 bottles of beer on the wall.

77 bottles of beer on the wall, 77 bottles of beer.
Take one down and pass it around, 76 bottles of beer on the wall.

76 bottles of beer on the wall, 76 bottles of beer.
Take one down and pass it around, 75 bottles of beer on the wall.

75 bottles of beer on the wall, 75 bottles of beer.
Take one down and pass it around, 74 bottles of beer on the wall.

74 bottles of beer on the wall, 74 bottles of beer.
Take one down and pass it around, 73 bottles of beer on the wall.

73 bottles of beer on the wall, 73 bottles of beer.
Take one down and pass it around, 72 bottles of beer on the wall.

72 bottles of beer on the wall, 72 bottles of beer.
Take one down and pass it around, 71 bottles of beer on the wall.

71 bottles of beer on the wall, 71 bottles of beer.
Take one down and pass it around, 70 bottles of beer on the wall.

70 bottles of beer on the wall, 70 bottles of beer.
Take one down and pass it around, 69 bottles of beer on the wall.

69 bottles of beer on the wall, 69 bottles of beer.
Take one down and pass it around, 68 bottles of beer on the wall.

68 bottles of beer on the wall, 68 bottles of beer.
Take one down and pass it around, 67 bottles of beer on the wall.

67 bottles of beer on the wall, 67 bottles of beer.
Take one down and pass it around, 66 bottles of beer on the wall.

66 bottles of beer on the wall, 66 bottles of beer.
Take one down and pass it around, 65 bottles of beer on the wall.

65 bottles of beer on the wall, 65 bottles of beer.
Take one down and pass it around, 64 bottles of beer on the wall.

64 bottles of beer on the wall, 64 bottles of beer.
Take one down and pass it around, 63 bottles of beer on the wall.

63 bottles of beer on the wall, 63 bottles of beer.
Take one down and pass it around, 62 bottles of beer on the wall.

62 bottles of beer on the wall, 62 bottles of beer.
Take one down and pass it around, 61 bottles of beer on the wall.

61 bottles of beer on the wall, 61 bottles of beer.
Take one down and pass it around, 60 bottles of beer on the wall.

60 bottles of beer on the wall, 60 bottles of beer.
Take one down and pass it around, 59 bottles of beer on the wall.

59 bottles of beer on the wall, 59 bottles of beer.
Take one down and pass it around, 58 bottles of beer on the wall.

58 bottles of beer on the wall, 58 bottles of beer.
Take one down and pass it around, 57 bottles of beer on the wall.

57 bottles of beer on the wall, 57 bottles of beer.
Take one down and pass it around, 56 bottles of beer on the wall.

56 bottles of beer on the wall, 56 bottles of beer.
Take one down and pass it around, 55 bottles of beer on the wall.

55 bottles of beer on the wall, 55 bottles of beer.
Take one down and pass it around, 54 bottles of beer on the wall.

54 bottles of beer on the wall, 54 bottles of beer.
Take one down and pass it around, 53 bottles of beer on the wall.

53 bottles of beer on the wall, 53 bottles of beer.
Take one down and pass it around, 52 bottles of beer on the wall.

52 bottles of beer on the wall, 52 bottles of beer.
Take one down and pass it around, 51 bottles of beer on the wall.

51 bottles of beer on the wall, 51 bottles of beer.
Take one down and pass it around, 50 bottles of beer on the wall.

50 bottles of beer on the wall, 50 bottles of beer.
Take one down and pass it around, 49 bottles of beer on the wall.

49 bottles of beer on the wall, 49 bottles of beer.
Take one down and pass it around, 48 bottles of beer on the wall.

48 bottles of beer on the wall, 48 bottles of beer.
Take one down and pass it around, 47 bottles of beer on the wall.

47 bottles of beer on the wall, 47 bottles of beer.
Take one down and pass it around, 46 bottles of beer on the wall.

46 bottles of beer on the wall, 46 bottles of beer.
Take one down and pass it around, 45 bottles of beer on the wall.

45 bottles of beer on the wall, 45 bottles of beer.
Take one down and pass it around, 44 bottles of beer on the wall.

44 bottles of beer on the wall, 44 bottles of beer.
Take one down and pass it around, 43 bottles of beer on the wall.

43 bottles of beer on the wall, 43 bottles of beer.
Take one down and pass it around, 42 bottles of beer on the wall.

42 bottles of beer on the wall, 42 bottles of beer.
Take one down and pass it around, 41 bottles of beer on the wall.

41 bottles of beer on the wall, 41 bottles of beer.
Take one down and pass it around, 40 bottles of beer on the wall.

40 bottles of beer on the wall, 40 bottles of beer.
Take one down and pass it around, 39 bottles of beer on the wall.

39 bottles of beer on the wall, 39 bottles of beer.
Take one down and pass it around, 38 bottles of beer on the wall.

38 bottles of beer on the wall, 38 bottles of beer.
Take one down and pass it around, 37 bottles of beer on the wall.

37 bottles of beer on the wall, 37 bottles of beer.
Take one down and pass it around, 36 bottles of beer on the wall.

36 bottles of beer on the wall, 36 bottles of beer.
Take one down and pass it around, 35 bottles of beer on the wall.

35 bottles of beer on the wall, 35 bottles of beer.
Take one down and pass it around, 34 bottles of beer on the wall.

34 bottles of beer on the wall, 34 bottles of beer.
Take one down and pass it around, 33 bottles of beer on the wall.

33 bottles of beer on the wall, 33 bottles of beer.
Take one down and pass it around, 32 bottles of beer on the wall.

32 bottles of beer on the wall, 32 bottles of beer.
Take one down and pass it around, 31 bottles of beer on the wall.

31 bottles of beer on the wall, 31 bottles of beer.
Take one down and pass it around, 30 bottles of beer on the wall.

30 bottles of beer on the wall, 30 bottles of beer.
Take one down and pass it around, 29 bottles of beer on the wall.

29 bottles of beer on the wall, 29 bottles of beer.
Take one down and pass it around, 28 bottles of beer on the wall.

28 bottles of beer on the wall, 28 bottles of beer.
Take one down and pass it around, 27 bottles of beer on the wall.

27 bottles of beer on the wall, 27 bottles of beer.
Take one down and pass it around, 26 bottles of beer on the wall.

26 bottles of beer on the wall, 26 bottles of beer.
Take one down and pass it around, 25 bottles of beer on the wall.

25 bottles of beer on the wall, 25 bottles of beer.
Take one down and pass it around, 24 bottles of beer on the wall.

24 bottles of beer on the wall, 24 bottles of beer.
Take one down and pass it around, 23 bottles of beer on the wall.

23 bottles of beer on the wall, 23 bottles of beer.
Take one down and pass it around, 22 bottles of beer on the wall.

22 bottles of beer on the wall, 22 bottles of beer.
Take one down and pass it around, 21 bottles of beer on the wall.

21 bottles of beer on the wall, 21 bottles of beer.
Take one down and pass it around, 20 bottles of beer on the wall.

20 bottles of beer on the wall, 20 bottles of beer.
Take one down and pass it around, 19 bottles of beer on the wall.

19 bottles of beer on the wall, 19 bottles of beer.
Take one down and pass it around, 18 bottles of beer on the wall.

18 bottles of beer on the wall, 18 bottles of beer.
Take one down and pass it around, 17 bottles of beer on the wall.

17 bottles of beer on the wall, 17 bottles of beer.
Take one down and pass it around, 16 bottles of beer on the wall.

16 bottles of beer on the wall, 16 bottles of beer.
Take one down and pass it around, 15 bottles of beer on the wall.

15 bottles of beer on the wall, 15 bottles of beer.
Take one down and pass it around, 14 bottles of beer on the wall.

14 bottles of beer on the wall, 14 bottles of beer.
Take one down and pass it around, 13 bottles of beer on the wall.

13 bottles of beer on the wall, 13 bottles of beer.
Take one down and pass it around, 12 bottles of beer on the wall.

12 bottles of beer on the wall, 12 bottles of beer.
Take one down and pass it around, 11 bottles of beer on the wall.

11 bottles of beer on the wall, 11 bottles of beer.
Take one down and pass it around, 10 bottles of beer on the wall.

10 bottles of beer on the wall, 10 bottles of beer.
Take one down and pass it around, 9 bottles of beer on the wall.

9 bottles of beer on the wall, 9 bottles of beer.
Take one down and pass it around, 8 bottles of beer on the wall.

8 bottles of beer on the wall, 8 bottles of beer.
Take one down and pass it around, 7 bottles of beer on the wall.

7 bottles of beer on the wall, 7 bottles of beer.
Take one down and pass it around, 6 bottles of beer on the wall.

6 bottles of beer on the wall, 6 bottles of beer.
Take one down and pass it around, 5 bottles of beer on the wall.

5 bottles of beer on the wall, 5 bottles of beer.
Take one down and pass it around, 4 bottles of beer on the wall.

4 bottles of beer on the wall, 4 bottles of beer.
Take one down and pass it around, 3 bottles of beer on the wall.

3 bottles of beer on the wall, 3 bottles of beer.
Take one down and pass it around, 2 bottles of beer on the wall.

2 bottles of beer on the wall, 2 bottles of beer.
Take one down and pass it around, 1 bottle of beer on the wall.

1 bottle of beer on the wall, 1 bottle of beer.
Go to the store and buy some more, 99 bottles of beer on the wall.

View Diff

1a2,245
> Take one down and pass it around, 81 bottles of beer on the wall.
> 
> 81 bottles of beer on the wall, 81 bottles of beer.
> Take one down and pass it around, 80 bottles of beer on the wall.
> 
> 80 bottles of beer on the wall, 80 bottles of beer.
> Take one down and pass it around, 79 bottles of beer on the wall.
> 
> 79 bottles of beer on the wall, 79 bottles of beer.
> Take one down and pass it around, 78 bottles of beer on the wall.
> 
> 78 bottles of beer on the wall, 78 bottles of beer.
> Take one down and pass it around, 77 bottles of beer on the wall.
> 
> 77 bottles of beer on the wall, 77 bottles of beer.
> Take one down and pass it around, 76 bottles of beer on the wall.
> 
> 76 bottles of beer on the wall, 76 bottles of beer.
> Take one down and pass it around, 75 bottles of beer on the wall.
> 
> 75 bottles of beer on the wall, 75 bottles of beer.
> Take one down and pass it around, 74 bottles of beer on the wall.
> 
> 74 bottles of beer on the wall, 74 bottles of beer.
> Take one down and pass it around, 73 bottles of beer on the wall.
> 
> 73 bottles of beer on the wall, 73 bottles of beer.
> Take one down and pass it around, 72 bottles of beer on the wall.
> 
> 72 bottles of beer on the wall, 72 bottles of beer.
> Take one down and pass it around, 71 bottles of beer on the wall.
> 
> 71 bottles of beer on the wall, 71 bottles of beer.
> Take one down and pass it around, 70 bottles of beer on the wall.
> 
> 70 bottles of beer on the wall, 70 bottles of beer.
> Take one down and pass it around, 69 bottles of beer on the wall.
> 
> 69 bottles of beer on the wall, 69 bottles of beer.
> Take one down and pass it around, 68 bottles of beer on the wall.
> 
> 68 bottles of beer on the wall, 68 bottles of beer.
> Take one down and pass it around, 67 bottles of beer on the wall.
> 
> 67 bottles of beer on the wall, 67 bottles of beer.
> Take one down and pass it around, 66 bottles of beer on the wall.
> 
> 66 bottles of beer on the wall, 66 bottles of beer.
> Take one down and pass it around, 65 bottles of beer on the wall.
> 
> 65 bottles of beer on the wall, 65 bottles of beer.
> Take one down and pass it around, 64 bottles of beer on the wall.
> 
> 64 bottles of beer on the wall, 64 bottles of beer.
> Take one down and pass it around, 63 bottles of beer on the wall.
> 
> 63 bottles of beer on the wall, 63 bottles of beer.
> Take one down and pass it around, 62 bottles of beer on the wall.
> 
> 62 bottles of beer on the wall, 62 bottles of beer.
> Take one down and pass it around, 61 bottles of beer on the wall.
> 
> 61 bottles of beer on the wall, 61 bottles of beer.
> Take one down and pass it around, 60 bottles of beer on the wall.
> 
> 60 bottles of beer on the wall, 60 bottles of beer.
> Take one down and pass it around, 59 bottles of beer on the wall.
> 
> 59 bottles of beer on the wall, 59 bottles of beer.
> Take one down and pass it around, 58 bottles of beer on the wall.
> 
> 58 bottles of beer on the wall, 58 bottles of beer.
> Take one down and pass it around, 57 bottles of beer on the wall.
> 
> 57 bottles of beer on the wall, 57 bottles of beer.
> Take one down and pass it around, 56 bottles of beer on the wall.
> 
> 56 bottles of beer on the wall, 56 bottles of beer.
> Take one down and pass it around, 55 bottles of beer on the wall.
> 
> 55 bottles of beer on the wall, 55 bottles of beer.
> Take one down and pass it around, 54 bottles of beer on the wall.
> 
> 54 bottles of beer on the wall, 54 bottles of beer.
> Take one down and pass it around, 53 bottles of beer on the wall.
> 
> 53 bottles of beer on the wall, 53 bottles of beer.
> Take one down and pass it around, 52 bottles of beer on the wall.
> 
> 52 bottles of beer on the wall, 52 bottles of beer.
> Take one down and pass it around, 51 bottles of beer on the wall.
> 
> 51 bottles of beer on the wall, 51 bottles of beer.
> Take one down and pass it around, 50 bottles of beer on the wall.
> 
> 50 bottles of beer on the wall, 50 bottles of beer.
> Take one down and pass it around, 49 bottles of beer on the wall.
> 
> 49 bottles of beer on the wall, 49 bottles of beer.
> Take one down and pass it around, 48 bottles of beer on the wall.
> 
> 48 bottles of beer on the wall, 48 bottles of beer.
> Take one down and pass it around, 47 bottles of beer on the wall.
> 
> 47 bottles of beer on the wall, 47 bottles of beer.
> Take one down and pass it around, 46 bottles of beer on the wall.
> 
> 46 bottles of beer on the wall, 46 bottles of beer.
> Take one down and pass it around, 45 bottles of beer on the wall.
> 
> 45 bottles of beer on the wall, 45 bottles of beer.
> Take one down and pass it around, 44 bottles of beer on the wall.
> 
> 44 bottles of beer on the wall, 44 bottles of beer.
> Take one down and pass it around, 43 bottles of beer on the wall.
> 
> 43 bottles of beer on the wall, 43 bottles of beer.
> Take one down and pass it around, 42 bottles of beer on the wall.
> 
> 42 bottles of beer on the wall, 42 bottles of beer.
> Take one down and pass it around, 41 bottles of beer on the wall.
> 
> 41 bottles of beer on the wall, 41 bottles of beer.
> Take one down and pass it around, 40 bottles of beer on the wall.
> 
> 40 bottles of beer on the wall, 40 bottles of beer.
> Take one down and pass it around, 39 bottles of beer on the wall.
> 
> 39 bottles of beer on the wall, 39 bottles of beer.
> Take one down and pass it around, 38 bottles of beer on the wall.
> 
> 38 bottles of beer on the wall, 38 bottles of beer.
> Take one down and pass it around, 37 bottles of beer on the wall.
> 
> 37 bottles of beer on the wall, 37 bottles of beer.
> Take one down and pass it around, 36 bottles of beer on the wall.
> 
> 36 bottles of beer on the wall, 36 bottles of beer.
> Take one down and pass it around, 35 bottles of beer on the wall.
> 
> 35 bottles of beer on the wall, 35 bottles of beer.
> Take one down and pass it around, 34 bottles of beer on the wall.
> 
> 34 bottles of beer on the wall, 34 bottles of beer.
> Take one down and pass it around, 33 bottles of beer on the wall.
> 
> 33 bottles of beer on the wall, 33 bottles of beer.
> Take one down and pass it around, 32 bottles of beer on the wall.
> 
> 32 bottles of beer on the wall, 32 bottles of beer.
> Take one down and pass it around, 31 bottles of beer on the wall.
> 
> 31 bottles of beer on the wall, 31 bottles of beer.
> Take one down and pass it around, 30 bottles of beer on the wall.
> 
> 30 bottles of beer on the wall, 30 bottles of beer.
> Take one down and pass it around, 29 bottles of beer on the wall.
> 
> 29 bottles of beer on the wall, 29 bottles of beer.
> Take one down and pass it around, 28 bottles of beer on the wall.
> 
> 28 bottles of beer on the wall, 28 bottles of beer.
> Take one down and pass it around, 27 bottles of beer on the wall.
> 
> 27 bottles of beer on the wall, 27 bottles of beer.
> Take one down and pass it around, 26 bottles of beer on the wall.
> 
> 26 bottles of beer on the wall, 26 bottles of beer.
> Take one down and pass it around, 25 bottles of beer on the wall.
> 
> 25 bottles of beer on the wall, 25 bottles of beer.
> Take one down and pass it around, 24 bottles of beer on the wall.
> 
> 24 bottles of beer on the wall, 24 bottles of beer.
> Take one down and pass it around, 23 bottles of beer on the wall.
> 
> 23 bottles of beer on the wall, 23 bottles of beer.
> Take one down and pass it around, 22 bottles of beer on the wall.
> 
> 22 bottles of beer on the wall, 22 bottles of beer.
> Take one down and pass it around, 21 bottles of beer on the wall.
> 
> 21 bottles of beer on the wall, 21 bottles of beer.
> Take one down and pass it around, 20 bottles of beer on the wall.
> 
> 20 bottles of beer on the wall, 20 bottles of beer.
> Take one down and pass it around, 19 bottles of beer on the wall.
> 
> 19 bottles of beer on the wall, 19 bottles of beer.
> Take one down and pass it around, 18 bottles of beer on the wall.
> 
> 18 bottles of beer on the wall, 18 bottles of beer.
> Take one down and pass it around, 17 bottles of beer on the wall.
> 
> 17 bottles of beer on the wall, 17 bottles of beer.
> Take one down and pass it around, 16 bottles of beer on the wall.
> 
> 16 bottles of beer on the wall, 16 bottles of beer.
> Take one down and pass it around, 15 bottles of beer on the wall.
> 
> 15 bottles of beer on the wall, 15 bottles of beer.
> Take one down and pass it around, 14 bottles of beer on the wall.
> 
> 14 bottles of beer on the wall, 14 bottles of beer.
> Take one down and pass it around, 13 bottles of beer on the wall.
> 
> 13 bottles of beer on the wall, 13 bottles of beer.
> Take one down and pass it around, 12 bottles of beer on the wall.
> 
> 12 bottles of beer on the wall, 12 bottles of beer.
> Take one down and pass it around, 11 bottles of beer on the wall.
> 
> 11 bottles of beer on the wall, 11 bottles of beer.
> Take one down and pass it around, 10 bottles of beer on the wall.
> 
> 10 bottles of beer on the wall, 10 bottles of beer.
> Take one down and pass it around, 9 bottles of beer on the wall.
> 
> 9 bottles of beer on the wall, 9 bottles of beer.
> Take one down and pass it around, 8 bottles of beer on the wall.
> 
> 8 bottles of beer on the wall, 8 bottles of beer.
> Take one down and pass it around, 7 bottles of beer on the wall.
> 
> 7 bottles of beer on the wall, 7 bottles of beer.
> Take one down and pass it around, 6 bottles of beer on the wall.
> 
> 6 bottles of beer on the wall, 6 bottles of beer.
> Take one down and pass it around, 5 bottles of beer on the wall.
> 
> 5 bottles of beer on the wall, 5 bottles of beer.
> Take one down and pass it around, 4 bottles of beer on the wall.
> 
> 4 bottles of beer on the wall, 4 bottles of beer.
> Take one down and pass it around, 3 bottles of beer on the wall.
> 
> 3 bottles of beer on the wall, 3 bottles of beer.
> Take one down and pass it around, 2 bottles of beer on the wall.
> 
> 2 bottles of beer on the wall, 2 bottles of beer.
> Take one down and pass it around, 1 bottle of beer on the wall.
> 
> 1 bottle of beer on the wall, 1 bottle of beer.
> Go to the store and buy some more, 99 bottles of beer on the wall.

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 126 remaining solutions by signing in and submitting your own entry
#127 Juan C. Muller / @juancmuller - Score: 582 - 12/31/10 @ 02:26
oTake one down and pass it around, 81 bottles of beer on the wall.<CR><Esc>qqVkkyGp<C-X>w<C-X>j<C-X>jq@q@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@dd<Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Up><Right>x<Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left>x<Down><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left>veeeeeeecGo to the store and buy some more<Esc><Right><Right><Right>a<BS>99<Esc><Up><Up><Up><Right><Right><Right><Right><Right><Right>xZZ

0 comments


Created by: @dstockwell

127 active golfers, 271 entries

Leaderboard (lowest score wins):
187
#121 - Eike Schulte / @eikeschulte

12/31/2010 at 05:47PM

214
#122 - Matt DiGregorio / @mattgreggs

12/31/2010 at 12:04PM

222
#123 - Francisco Dibar / @frandibar

01/13/2011 at 04:53PM

224
#124 - Prody / @Prody225

12/31/2010 at 01:08PM

363
#125 - Gavin Rogers / @KC9KVQ

03/26/2013 at 01:20AM

454
#126 - Xin Xie / @xxie24

12/31/2010 at 01:05AM

582
#127 - Juan C. Muller / @juancmuller

12/31/2010 at 02:26AM