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 5f1063aa8361810006e73210

Satisfy the go linter

You just came up with this briliant go vars package. But dang, you forgot to add comments to the exported variables. Can you add a comment over each variable with a TODO-placeholder?

Start file
package vars

var (
	Version string
	Debug bool
)
End file
package vars

var (
	// Version TODO
	Version string
	// Debug TODO
	Debug bool
)

View Diff

3a4
> 	// Version TODO
4a6
> 	// Debug TODO

Solutions by @pi-ratio:

Unlock 19 remaining solutions by signing in and submitting your own entry
Created by: @__dadav__

471 active golfers, 2391 entries

Solutions by @pi-ratio:
20
#157 - 3.14 / @pi-ratio

04/12/2024 at 03:05AM

21
#>202 - 3.14 / @pi-ratio

04/12/2024 at 03:04AM

22
#>215 - 3.14 / @pi-ratio

04/12/2024 at 03:04AM

23
#>230 - 3.14 / @pi-ratio

04/12/2024 at 03:04AM

24
#>253 - 3.14 / @pi-ratio

04/12/2024 at 03:03AM

25
#>283 - 3.14 / @pi-ratio

04/12/2024 at 03:03AM

26
#>298 - 3.14 / @pi-ratio

04/12/2024 at 03:03AM

27
#>324 - 3.14 / @pi-ratio

04/12/2024 at 03:02AM

28
#>353 - 3.14 / @pi-ratio

04/12/2024 at 03:02AM

29
#>364 - 3.14 / @pi-ratio

04/12/2024 at 03:02AM

30
#>370 - 3.14 / @pi-ratio

04/12/2024 at 03:01AM

31
#>378 - 3.14 / @pi-ratio

04/12/2024 at 03:01AM

32
#>380 - 3.14 / @pi-ratio

04/12/2024 at 03:00AM

33
#>389 - 3.14 / @pi-ratio

04/12/2024 at 03:00AM

34
#>402 - 3.14 / @pi-ratio

04/12/2024 at 03:00AM

36
#>422 - 3.14 / @pi-ratio

04/12/2024 at 02:59AM

37
#>427 - 3.14 / @pi-ratio

04/12/2024 at 02:59AM

40
#>439 - 3.14 / @pi-ratio

04/11/2024 at 12:43PM

42
#>447 - 3.14 / @pi-ratio

04/11/2024 at 12:43PM