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

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

281 active golfers, 1084 entries

Solutions by @IvanKwong5:
22
#70 - Ivan Kwong / @IvanKwong5

09/28/2020 at 03:29PM

23
#>93 - Ivan Kwong / @IvanKwong5

09/28/2020 at 03:27PM

24
#>109 - Ivan Kwong / @IvanKwong5

09/28/2020 at 03:25PM

24
#>109 - Ivan Kwong / @IvanKwong5

09/28/2020 at 03:26PM

25
#>127 - Ivan Kwong / @IvanKwong5

09/28/2020 at 03:24PM

26
#>144 - Ivan Kwong / @IvanKwong5

09/28/2020 at 03:10PM

27
#>174 - Ivan Kwong / @IvanKwong5

09/28/2020 at 03:17PM

28
#>192 - Ivan Kwong / @IvanKwong5

09/28/2020 at 03:19PM

29
#>205 - Ivan Kwong / @IvanKwong5

09/28/2020 at 03:08PM

29
#>205 - Ivan Kwong / @IvanKwong5

09/28/2020 at 03:16PM