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

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

491 active golfers, 2468 entries

Solutions by @kanguk123:
21
#208 - kanguk123 / @kanguk123

03/29/2025 at 05:12PM

22
#>220 - kanguk123 / @kanguk123

03/29/2025 at 05:12PM

23
#>235 - kanguk123 / @kanguk123

03/29/2025 at 05:10PM

24
#>262 - kanguk123 / @kanguk123

03/29/2025 at 05:09PM

25
#>290 - kanguk123 / @kanguk123

03/29/2025 at 05:06PM

26
#>308 - kanguk123 / @kanguk123

03/29/2025 at 05:05PM

27
#>334 - kanguk123 / @kanguk123

03/29/2025 at 05:04PM

28
#>365 - kanguk123 / @kanguk123

03/29/2025 at 05:03PM

29
#>375 - kanguk123 / @kanguk123

03/29/2025 at 05:02PM

30
#>382 - kanguk123 / @kanguk123

03/29/2025 at 05:02PM

31
#>390 - kanguk123 / @kanguk123

03/29/2025 at 05:00PM

32
#>392 - kanguk123 / @kanguk123

03/29/2025 at 04:59PM

33
#>401 - kanguk123 / @kanguk123

03/29/2025 at 04:58PM

34
#>415 - kanguk123 / @kanguk123

03/29/2025 at 04:55PM

35
#>429 - kanguk123 / @kanguk123

03/29/2025 at 04:54PM

36
#>435 - kanguk123 / @kanguk123

03/29/2025 at 04:48PM

37
#>442 - kanguk123 / @kanguk123

03/29/2025 at 04:47PM