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

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

281 active golfers, 1084 entries

Solutions by @zacoxi:
22
#77 - Dax / @zacoxi

12/11/2020 at 09:21AM

23
#>94 - Dax / @zacoxi

12/11/2020 at 09:17AM

23
#>94 - Dax / @zacoxi

12/11/2020 at 09:21AM

24
#>111 - Dax / @zacoxi

12/11/2020 at 09:15AM

25
#>129 - Dax / @zacoxi

12/11/2020 at 09:13AM

26
#>144 - Dax / @zacoxi

12/11/2020 at 09:08AM

26
#>144 - Dax / @zacoxi

12/11/2020 at 09:10AM

28
#>193 - Dax / @zacoxi

12/11/2020 at 09:06AM

30
#>217 - Dax / @zacoxi

12/11/2020 at 08:58AM

33
#>236 - Dax / @zacoxi

12/11/2020 at 09:03AM

34
#>242 - Dax / @zacoxi

12/11/2020 at 08:57AM

73
#>278 - Dax / @zacoxi

12/11/2020 at 09:01AM