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 5e3c8d176ea90a00096b2e63

Quote modules

Complete golang import statement.

Start file
import
    encoding/json
    fmt
    math/rand
    net/http
    time

    github.com/graphql-go/graphql
End file
import (
    "encoding/json"
    "fmt"
    "math/rand"
    "net/http"
    "time"

    "github.com/graphql-go/graphql"
)

View Diff

1,6c1,6
< import
<     encoding/json
<     fmt
<     math/rand
<     net/http
<     time
---
> import (
>     "encoding/json"
>     "fmt"
>     "math/rand"
>     "net/http"
>     "time"
8c8,9
<     github.com/graphql-go/graphql
---
>     "github.com/graphql-go/graphql"
> )

Solutions by @humbabu:

Unlock 8 remaining solutions by signing in and submitting your own entry
Created by: @xiote2

273 active golfers, 1053 entries

Solutions by @humbabu:
22
#78 - Humbaba / @humbabu

01/04/2022 at 10:25PM

23
#>94 - Humbaba / @humbabu

01/04/2022 at 10:24PM

24
#>108 - Humbaba / @humbabu

01/04/2022 at 10:21PM

25
#>129 - Humbaba / @humbabu

01/04/2022 at 09:56PM

26
#>142 - Humbaba / @humbabu

01/04/2022 at 09:52PM

30
#>211 - Humbaba / @humbabu

01/04/2022 at 09:48PM

32
#>224 - Humbaba / @humbabu

01/04/2022 at 09:46PM

35
#>240 - Humbaba / @humbabu

01/04/2022 at 09:42PM