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

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

228 active golfers, 874 entries

Solutions by @rodvlopes:
21
#15 - Rodrigo V. Lopes / @rodvlopes

03/24/2020 at 06:48PM

22
#>45 - Rodrigo V. Lopes / @rodvlopes

03/24/2020 at 06:46PM

23
#>66 - Rodrigo V. Lopes / @rodvlopes

03/24/2020 at 06:38PM

24
#>79 - Rodrigo V. Lopes / @rodvlopes

03/24/2020 at 06:27PM

25
#>96 - Rodrigo V. Lopes / @rodvlopes

03/24/2020 at 05:07PM

27
#>129 - Rodrigo V. Lopes / @rodvlopes

03/24/2020 at 04:59PM

29
#>161 - Rodrigo V. Lopes / @rodvlopes

03/24/2020 at 04:43PM