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

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

252 active golfers, 985 entries

Solutions by @quemeraisc:
21
#31 - quemeraisc / @quemeraisc

11/23/2020 at 10:48AM

22
#>66 - quemeraisc / @quemeraisc

11/23/2020 at 10:41AM

23
#>83 - quemeraisc / @quemeraisc

11/23/2020 at 10:30AM

24
#>98 - quemeraisc / @quemeraisc

11/23/2020 at 10:18AM

25
#>114 - quemeraisc / @quemeraisc

11/23/2020 at 10:02AM

27
#>158 - quemeraisc / @quemeraisc

11/23/2020 at 09:35AM

27
#>158 - quemeraisc / @quemeraisc

11/23/2020 at 09:54AM

28
#>170 - quemeraisc / @quemeraisc

11/23/2020 at 08:58AM