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 @DontBeAlarmed:

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

168 active golfers, 573 entries

Solutions by @DontBeAlarmed:
45
#3 - Don'tBeAlarmed / @DontBeAlarmed

06/01/2024 at 06:56PM

47
#>20 - Don'tBeAlarmed / @DontBeAlarmed

06/01/2024 at 06:54PM

48
#>27 - Don'tBeAlarmed / @DontBeAlarmed

06/01/2024 at 06:53PM

51
#>28 - Don'tBeAlarmed / @DontBeAlarmed

06/01/2024 at 06:52PM

55
#>30 - Don'tBeAlarmed / @DontBeAlarmed

06/01/2024 at 06:52PM

56
#>32 - Don'tBeAlarmed / @DontBeAlarmed

06/01/2024 at 06:51PM

57
#>38 - Don'tBeAlarmed / @DontBeAlarmed

06/01/2024 at 06:50PM

58
#>39 - Don'tBeAlarmed / @DontBeAlarmed

06/01/2024 at 06:49PM

59
#>41 - Don'tBeAlarmed / @DontBeAlarmed

06/01/2024 at 06:47PM

60
#>42 - Don'tBeAlarmed / @DontBeAlarmed

06/01/2024 at 06:45PM

61
#>43 - Don'tBeAlarmed / @DontBeAlarmed

06/01/2024 at 06:44PM

62
#>44 - Don'tBeAlarmed / @DontBeAlarmed

06/01/2024 at 06:42PM

64
#>45 - Don'tBeAlarmed / @DontBeAlarmed

06/01/2024 at 06:41PM

65
#>48 - Don'tBeAlarmed / @DontBeAlarmed

06/01/2024 at 06:40PM

66
#>51 - Don'tBeAlarmed / @DontBeAlarmed

06/01/2024 at 06:38PM

67
#>54 - Don'tBeAlarmed / @DontBeAlarmed

06/01/2024 at 06:34PM

68
#>55 - Don'tBeAlarmed / @DontBeAlarmed

06/01/2024 at 06:33PM

69
#>58 - Don'tBeAlarmed / @DontBeAlarmed

06/01/2024 at 06:28PM

70
#>61 - Don'tBeAlarmed / @DontBeAlarmed

06/01/2024 at 06:27PM

71
#>67 - Don'tBeAlarmed / @DontBeAlarmed

05/31/2024 at 08:58PM

80
#>96 - Don'tBeAlarmed / @DontBeAlarmed

05/31/2024 at 08:46PM