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

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

229 active golfers, 875 entries

Solutions by @ViktorStyrud:
21
#11 - Viktor Styrud / @ViktorStyrud

03/12/2020 at 04:00PM

22
#>43 - Viktor Styrud / @ViktorStyrud

03/12/2020 at 04:00PM

23
#>65 - Viktor Styrud / @ViktorStyrud

03/12/2020 at 03:59PM

24
#>77 - Viktor Styrud / @ViktorStyrud

03/12/2020 at 03:58PM

25
#>95 - Viktor Styrud / @ViktorStyrud

03/12/2020 at 03:57PM

26
#>105 - Viktor Styrud / @ViktorStyrud

03/12/2020 at 03:52PM

28
#>146 - Viktor Styrud / @ViktorStyrud

03/12/2020 at 03:50PM

28
#>146 - Viktor Styrud / @ViktorStyrud

03/12/2020 at 03:51PM