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

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

272 active golfers, 1046 entries

Solutions by @fishermryn:
22
#59 - 于吉星 / @fishermryn

05/23/2020 at 03:52AM

23
#>88 - 于吉星 / @fishermryn

05/23/2020 at 03:47AM

24
#>100 - 于吉星 / @fishermryn

05/23/2020 at 03:42AM

25
#>120 - 于吉星 / @fishermryn

05/23/2020 at 03:40AM

26
#>137 - 于吉星 / @fishermryn

05/23/2020 at 01:02AM

27
#>165 - 于吉星 / @fishermryn

05/23/2020 at 12:56AM

28
#>183 - 于吉星 / @fishermryn

05/23/2020 at 12:26AM