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 @sosa-daniel:

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

485 active golfers, 2450 entries

Solutions by @sosa-daniel:
20
#168 - sosa-daniel / @sosa-daniel

10/30/2024 at 02:09AM

21
#>205 - sosa-daniel / @sosa-daniel

10/30/2024 at 02:08AM

22
#>217 - sosa-daniel / @sosa-daniel

10/30/2024 at 02:08AM

23
#>232 - sosa-daniel / @sosa-daniel

10/30/2024 at 02:07AM

24
#>258 - sosa-daniel / @sosa-daniel

10/30/2024 at 02:06AM

25
#>287 - sosa-daniel / @sosa-daniel

10/30/2024 at 02:06AM

26
#>304 - sosa-daniel / @sosa-daniel

10/30/2024 at 02:05AM

27
#>331 - sosa-daniel / @sosa-daniel

10/30/2024 at 02:04AM

30
#>379 - sosa-daniel / @sosa-daniel

10/30/2024 at 02:02AM

32
#>388 - sosa-daniel / @sosa-daniel

10/30/2024 at 02:01AM

33
#>397 - sosa-daniel / @sosa-daniel

10/29/2024 at 01:48AM

34
#>411 - sosa-daniel / @sosa-daniel

10/29/2024 at 01:46AM