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

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

272 active golfers, 1046 entries

Solutions by @Burfield12:
22
#48 - Matthew / @Burfield12

02/17/2020 at 10:16PM

23
#>81 - Matthew / @Burfield12

02/16/2020 at 07:46AM

24
#>96 - Matthew / @Burfield12

02/16/2020 at 07:17AM

25
#>114 - Matthew / @Burfield12

02/16/2020 at 07:14AM

25
#>114 - Matthew / @Burfield12

02/16/2020 at 07:19AM

25
#>114 - Matthew / @Burfield12

02/16/2020 at 07:42AM

27
#>149 - Matthew / @Burfield12

02/16/2020 at 07:10AM

28
#>177 - Matthew / @Burfield12

02/16/2020 at 07:06AM

30
#>204 - Matthew / @Burfield12

02/16/2020 at 07:00AM

31
#>213 - Matthew / @Burfield12

02/16/2020 at 06:44AM

35
#>237 - Matthew / @Burfield12

02/16/2020 at 06:11AM

40
#>251 - Matthew / @Burfield12

02/16/2020 at 06:07AM

49
#>262 - Matthew / @Burfield12

02/16/2020 at 06:06AM

64
#>267 - Matthew / @Burfield12

02/16/2020 at 06:03AM