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

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

281 active golfers, 1084 entries

Solutions by @KaiLi19:
21
#23 - Kai.Li / @KaiLi19

05/26/2020 at 05:09AM

21
#>23 - Kai.Li / @KaiLi19

05/26/2020 at 05:22AM

22
#>61 - Kai.Li / @KaiLi19

05/26/2020 at 05:07AM

23
#>91 - Kai.Li / @KaiLi19

05/26/2020 at 05:02AM

24
#>104 - Kai.Li / @KaiLi19

05/26/2020 at 04:55AM

24
#>104 - Kai.Li / @KaiLi19

05/26/2020 at 04:58AM

25
#>124 - Kai.Li / @KaiLi19

05/26/2020 at 04:51AM

25
#>124 - Kai.Li / @KaiLi19

05/26/2020 at 04:58AM

26
#>141 - Kai.Li / @KaiLi19

05/26/2020 at 04:38AM

26
#>141 - Kai.Li / @KaiLi19

05/26/2020 at 04:47AM

27
#>170 - Kai.Li / @KaiLi19

05/26/2020 at 04:32AM

28
#>189 - Kai.Li / @KaiLi19

05/26/2020 at 04:37AM