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

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

272 active golfers, 1046 entries

Solutions by @BTPankow:
23
#89 - Bradley Pankow / @BTPankow

08/06/2020 at 12:33AM

24
#>103 - Bradley Pankow / @BTPankow

08/06/2020 at 12:32AM

25
#>122 - Bradley Pankow / @BTPankow

08/06/2020 at 12:31AM

25
#>122 - Bradley Pankow / @BTPankow

08/06/2020 at 12:31AM

26
#>138 - Bradley Pankow / @BTPankow

08/06/2020 at 12:30AM

27
#>169 - Bradley Pankow / @BTPankow

08/06/2020 at 12:29AM

27
#>169 - Bradley Pankow / @BTPankow

08/06/2020 at 12:30AM

28
#>184 - Bradley Pankow / @BTPankow

08/06/2020 at 12:27AM

28
#>184 - Bradley Pankow / @BTPankow

08/06/2020 at 12:28AM