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

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

471 active golfers, 2391 entries

Solutions by @dddh8204:
21
#204 - 깔깔 / @dddh8204

04/13/2024 at 11:11PM

21
#>204 - 깔깔 / @dddh8204

04/13/2024 at 11:28PM

22
#>215 - 깔깔 / @dddh8204

04/13/2024 at 11:10PM

23
#>230 - 깔깔 / @dddh8204

04/13/2024 at 11:08PM

24
#>254 - 깔깔 / @dddh8204

04/13/2024 at 11:07PM

25
#>283 - 깔깔 / @dddh8204

04/13/2024 at 11:05PM

26
#>299 - 깔깔 / @dddh8204

04/13/2024 at 11:03PM

27
#>325 - 깔깔 / @dddh8204

04/13/2024 at 11:02PM

28
#>353 - 깔깔 / @dddh8204

04/13/2024 at 11:00PM

29
#>364 - 깔깔 / @dddh8204

04/13/2024 at 10:59PM

30
#>370 - 깔깔 / @dddh8204

04/13/2024 at 10:58PM

31
#>378 - 깔깔 / @dddh8204

04/13/2024 at 04:35PM

32
#>380 - 깔깔 / @dddh8204

04/13/2024 at 04:33PM

33
#>389 - 깔깔 / @dddh8204

04/13/2024 at 04:26PM

33
#>389 - 깔깔 / @dddh8204

04/13/2024 at 04:31PM

34
#>402 - 깔깔 / @dddh8204

04/13/2024 at 04:24PM

35
#>417 - 깔깔 / @dddh8204

04/13/2024 at 04:21PM

38
#>432 - 깔깔 / @dddh8204

04/13/2024 at 04:15PM