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

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

471 active golfers, 2391 entries

Solutions by @aw0D5RUrdmxsylt:
26
#299 - Mystic / @aw0D5RUrdmxsylt

04/13/2024 at 06:01PM

27
#>324 - Mystic / @aw0D5RUrdmxsylt

04/13/2024 at 05:59PM

28
#>353 - Mystic / @aw0D5RUrdmxsylt

04/13/2024 at 05:55PM

29
#>364 - Mystic / @aw0D5RUrdmxsylt

04/13/2024 at 05:54PM

30
#>370 - Mystic / @aw0D5RUrdmxsylt

04/13/2024 at 05:53PM

31
#>378 - Mystic / @aw0D5RUrdmxsylt

04/13/2024 at 05:51PM

32
#>380 - Mystic / @aw0D5RUrdmxsylt

04/13/2024 at 05:50PM

33
#>389 - Mystic / @aw0D5RUrdmxsylt

04/13/2024 at 05:49PM

34
#>402 - Mystic / @aw0D5RUrdmxsylt

04/13/2024 at 05:46PM

36
#>422 - Mystic / @aw0D5RUrdmxsylt

04/13/2024 at 05:39PM

38
#>432 - Mystic / @aw0D5RUrdmxsylt

04/13/2024 at 05:45PM

40
#>439 - Mystic / @aw0D5RUrdmxsylt

04/13/2024 at 05:33PM

42
#>447 - Mystic / @aw0D5RUrdmxsylt

04/13/2024 at 05:34PM

61
#>465 - Mystic / @aw0D5RUrdmxsylt

04/13/2024 at 05:23PM