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 9v0062cda991000000000223

Fizzbuzz

type the first 100 lines of the fizzbuzz problem

Start file

End file
1
2
Fizz
4
Buzz
Fizz
7
8
Fizz
Buzz
11
Fizz
13
14
Fizzbuzz
16
17
Fizz
19
Buzz
Fizz
22
23
Fizz
Buzz
26
Fizz
28
29
Fizzbuzz
31
32
Fizz
34
Buzz
Fizz
37
38
Fizz
Buzz
41
Fizz
43
44
Fizzbuzz
46
47
Fizz
49
Buzz
Fizz
52
53
Fizz
Buzz
56
Fizz
58
59
Fizzbuzz
61
62
Fizz
64
Buzz
Fizz
67
68
Fizz
Buzz
71
Fizz
73
74
Fizzbuzz
76
77
Fizz
79
Buzz
Fizz
82
83
Fizz
Buzz
86
Fizz
88
89
Fizzbuzz
91
92
Fizz
94
Buzz
Fizz
97
98
Fizz
Buzz

View Diff

1,2c1,100
< 
< 
---
> 1
> 2
> Fizz
> 4
> Buzz
> Fizz
> 7
> 8
> Fizz
> Buzz
> 11
> Fizz
> 13
> 14
> Fizzbuzz
> 16
> 17
> Fizz
> 19
> Buzz
> Fizz
> 22
> 23
> Fizz
> Buzz
> 26
> Fizz
> 28
> 29
> Fizzbuzz
> 31
> 32
> Fizz
> 34
> Buzz
> Fizz
> 37
> 38
> Fizz
> Buzz
> 41
> Fizz
> 43
> 44
> Fizzbuzz
> 46
> 47
> Fizz
> 49
> Buzz
> Fizz
> 52
> 53
> Fizz
> Buzz
> 56
> Fizz
> 58
> 59
> Fizzbuzz
> 61
> 62
> Fizz
> 64
> Buzz
> Fizz
> 67
> 68
> Fizz
> Buzz
> 71
> Fizz
> 73
> 74
> Fizzbuzz
> 76
> 77
> Fizz
> 79
> Buzz
> Fizz
> 82
> 83
> Fizz
> Buzz
> 86
> Fizz
> 88
> 89
> Fizzbuzz
> 91
> 92
> Fizz
> 94
> Buzz
> Fizz
> 97
> 98
> Fizz
> Buzz

Solutions by @scpchick:

Unlock 25 remaining solutions by signing in and submitting your own entry
Created by: @Marco73364768

168 active golfers, 573 entries

Solutions by @scpchick:
47
#17 - scpchicken / @scpchick

02/25/2023 at 05:38PM

47
#>17 - scpchicken / @scpchick

02/25/2023 at 05:38PM

48
#>23 - scpchicken / @scpchick

02/25/2023 at 04:38PM

55
#>29 - scpchicken / @scpchick

02/25/2023 at 04:37PM

56
#>32 - scpchicken / @scpchick

02/25/2023 at 04:36PM

57
#>37 - scpchicken / @scpchick

02/25/2023 at 04:35PM

58
#>39 - scpchicken / @scpchick

02/25/2023 at 04:33PM

59
#>41 - scpchicken / @scpchick

02/25/2023 at 04:32PM

61
#>43 - scpchicken / @scpchick

02/25/2023 at 04:30PM

62
#>44 - scpchicken / @scpchick

02/25/2023 at 04:29PM

64
#>45 - scpchicken / @scpchick

02/25/2023 at 04:29PM

65
#>46 - scpchicken / @scpchick

02/25/2023 at 04:28PM

67
#>53 - scpchicken / @scpchick

02/25/2023 at 04:26PM

71
#>66 - scpchicken / @scpchick

02/25/2023 at 04:00PM

74
#>77 - scpchicken / @scpchick

02/25/2023 at 03:58PM

77
#>85 - scpchicken / @scpchick

02/25/2023 at 03:56PM

78
#>89 - scpchicken / @scpchick

02/25/2023 at 03:55PM

79
#>92 - scpchicken / @scpchick

02/25/2023 at 03:54PM

80
#>93 - scpchicken / @scpchick

02/25/2023 at 03:52PM

84
#>101 - scpchicken / @scpchick

02/25/2023 at 03:50PM

85
#>106 - scpchicken / @scpchick

02/25/2023 at 03:45PM

89
#>115 - scpchicken / @scpchick

02/25/2023 at 03:39PM

111
#>143 - scpchicken / @scpchick

02/25/2023 at 03:32PM

424
#>163 - scpchicken / @scpchick

02/25/2023 at 03:22PM

458
#>165 - scpchicken / @scpchick

02/25/2023 at 03:21PM