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

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

314 active golfers, 1519 entries

Solutions by @dezhonger:
20
#49 - dezhonger / @dezhonger

08/31/2020 at 06:21PM

20
#>49 - dezhonger / @dezhonger

08/31/2020 at 06:21PM

21
#>114 - dezhonger / @dezhonger

08/31/2020 at 06:20PM

22
#>131 - dezhonger / @dezhonger

08/31/2020 at 06:20PM

23
#>138 - dezhonger / @dezhonger

08/31/2020 at 06:14PM

23
#>138 - dezhonger / @dezhonger

08/31/2020 at 06:17PM

24
#>153 - dezhonger / @dezhonger

08/31/2020 at 06:09PM

25
#>163 - dezhonger / @dezhonger

08/31/2020 at 06:04PM

26
#>181 - dezhonger / @dezhonger

08/31/2020 at 06:03PM

27
#>201 - dezhonger / @dezhonger

08/31/2020 at 05:58PM

27
#>201 - dezhonger / @dezhonger

08/31/2020 at 05:59PM

28
#>220 - dezhonger / @dezhonger

08/31/2020 at 05:56PM

32
#>248 - dezhonger / @dezhonger

08/31/2020 at 05:53PM

33
#>251 - dezhonger / @dezhonger

08/31/2020 at 05:47PM

34
#>259 - dezhonger / @dezhonger

08/31/2020 at 05:44PM

35
#>267 - dezhonger / @dezhonger

08/31/2020 at 05:41PM

38
#>283 - dezhonger / @dezhonger

08/31/2020 at 05:36PM

38
#>283 - dezhonger / @dezhonger

08/31/2020 at 05:38PM