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

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

469 active golfers, 2374 entries

Solutions by @painkiller_2357:
20
#158 - 유채운 / @painkiller_2357

04/12/2024 at 03:58PM

21
#>201 - 유채운 / @painkiller_2357

04/12/2024 at 03:58PM

22
#>214 - 유채운 / @painkiller_2357

04/12/2024 at 03:57PM

23
#>229 - 유채운 / @painkiller_2357

04/12/2024 at 03:57PM

24
#>253 - 유채운 / @painkiller_2357

04/12/2024 at 03:52PM

25
#>281 - 유채운 / @painkiller_2357

04/12/2024 at 03:51PM

26
#>296 - 유채운 / @painkiller_2357

04/12/2024 at 03:49PM

27
#>322 - 유채운 / @painkiller_2357

04/12/2024 at 03:43PM

27
#>322 - 유채운 / @painkiller_2357

04/12/2024 at 03:45PM

30
#>368 - 유채운 / @painkiller_2357

04/12/2024 at 03:31PM

35
#>415 - 유채운 / @painkiller_2357

04/12/2024 at 03:25PM

56
#>461 - 유채운 / @painkiller_2357

04/12/2024 at 07:05AM

58
#>463 - 유채운 / @painkiller_2357

04/12/2024 at 07:04AM

60
#>463 - 유채운 / @painkiller_2357

04/12/2024 at 07:03AM

62
#>465 - 유채운 / @painkiller_2357

04/12/2024 at 06:59AM

75
#>467 - 유채운 / @painkiller_2357

04/12/2024 at 06:51AM