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

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

228 active golfers, 874 entries

Solutions by @countime1:
21
#9 - countime / @countime1

03/04/2020 at 08:24AM

22
#>42 - countime / @countime1

03/04/2020 at 08:21AM

23
#>65 - countime / @countime1

03/04/2020 at 08:18AM

24
#>77 - countime / @countime1

03/04/2020 at 08:14AM

25
#>95 - countime / @countime1

03/04/2020 at 08:05AM

25
#>95 - countime / @countime1

03/04/2020 at 08:13AM

29
#>158 - countime / @countime1

03/04/2020 at 07:54AM

32
#>183 - countime / @countime1

03/04/2020 at 07:53AM