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

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

228 active golfers, 874 entries

Solutions by @rjsumner:
21
#18 - John Sumner / @rjsumner

04/28/2020 at 12:09PM

22
#>48 - John Sumner / @rjsumner

04/28/2020 at 12:08PM

23
#>69 - John Sumner / @rjsumner

04/28/2020 at 11:01AM

24
#>80 - John Sumner / @rjsumner

04/28/2020 at 10:53AM

27
#>132 - John Sumner / @rjsumner

04/28/2020 at 10:47AM

28
#>151 - John Sumner / @rjsumner

04/28/2020 at 10:43AM

29
#>161 - John Sumner / @rjsumner

04/28/2020 at 10:41AM

31
#>179 - John Sumner / @rjsumner

04/28/2020 at 10:39AM

36
#>202 - John Sumner / @rjsumner

04/28/2020 at 10:37AM