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

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

272 active golfers, 1046 entries

Solutions by @park_jungy:
21
#33 - Jung Yeon Park / @park_jungy

01/03/2021 at 08:40PM

22
#>75 - Jung Yeon Park / @park_jungy

01/03/2021 at 08:39PM

23
#>92 - Jung Yeon Park / @park_jungy

01/03/2021 at 08:38PM

24
#>107 - Jung Yeon Park / @park_jungy

01/03/2021 at 08:38PM

25
#>125 - Jung Yeon Park / @park_jungy

01/03/2021 at 08:35PM

26
#>140 - Jung Yeon Park / @park_jungy

01/03/2021 at 08:34PM

27
#>171 - Jung Yeon Park / @park_jungy

01/03/2021 at 08:31PM

27
#>171 - Jung Yeon Park / @park_jungy

01/03/2021 at 08:32PM

27
#>171 - Jung Yeon Park / @park_jungy

01/03/2021 at 08:33PM

28
#>189 - Jung Yeon Park / @park_jungy

01/03/2021 at 08:30PM

32
#>223 - Jung Yeon Park / @park_jungy

01/03/2021 at 08:28PM

35
#>239 - Jung Yeon Park / @park_jungy

01/03/2021 at 08:24PM

51
#>264 - Jung Yeon Park / @park_jungy

01/03/2021 at 08:14PM

62
#>267 - Jung Yeon Park / @park_jungy

01/03/2021 at 08:22PM