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

160 active golfers, 534 entries

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

02/25/2023 at 05:38PM

47
#>15 - scpchicken / @scpchick

02/25/2023 at 05:38PM

48
#>21 - scpchicken / @scpchick

02/25/2023 at 04:38PM

55
#>28 - scpchicken / @scpchick

02/25/2023 at 04:37PM

56
#>31 - scpchicken / @scpchick

02/25/2023 at 04:36PM

57
#>36 - scpchicken / @scpchick

02/25/2023 at 04:35PM

58
#>38 - scpchicken / @scpchick

02/25/2023 at 04:33PM

59
#>40 - scpchicken / @scpchick

02/25/2023 at 04:32PM

61
#>42 - scpchicken / @scpchick

02/25/2023 at 04:30PM

62
#>43 - scpchicken / @scpchick

02/25/2023 at 04:29PM

64
#>44 - scpchicken / @scpchick

02/25/2023 at 04:29PM

65
#>45 - scpchicken / @scpchick

02/25/2023 at 04:28PM

67
#>52 - scpchicken / @scpchick

02/25/2023 at 04:26PM

71
#>63 - scpchicken / @scpchick

02/25/2023 at 04:00PM

74
#>72 - scpchicken / @scpchick

02/25/2023 at 03:58PM

77
#>80 - scpchicken / @scpchick

02/25/2023 at 03:56PM

78
#>83 - scpchicken / @scpchick

02/25/2023 at 03:55PM

79
#>86 - scpchicken / @scpchick

02/25/2023 at 03:54PM

80
#>87 - scpchicken / @scpchick

02/25/2023 at 03:52PM

84
#>95 - scpchicken / @scpchick

02/25/2023 at 03:50PM

85
#>100 - scpchicken / @scpchick

02/25/2023 at 03:45PM

89
#>109 - scpchicken / @scpchick

02/25/2023 at 03:39PM

111
#>137 - scpchicken / @scpchick

02/25/2023 at 03:32PM

424
#>155 - scpchicken / @scpchick

02/25/2023 at 03:22PM

458
#>157 - scpchicken / @scpchick

02/25/2023 at 03:21PM