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 5e3ca51e6ea90a00096b3007

Quote modules (ver.2)

Complete golang import statement.

Start file
import
    log
    net/http

    graphql github.com/graph-gophers/graphql-go
    github.com/graph-gophers/graphql-go/relay
End file
import (
    "log"
    "net/http"

    graphql "github.com/graph-gophers/graphql-go"
    "github.com/graph-gophers/graphql-go/relay"
)

View Diff

1,3c1,3
< import
<     log
<     net/http
---
> import (
>     "log"
>     "net/http"
5,6c5,7
<     graphql github.com/graph-gophers/graphql-go
<     github.com/graph-gophers/graphql-go/relay
---
>     graphql "github.com/graph-gophers/graphql-go"
>     "github.com/graph-gophers/graphql-go/relay"
> )

Solutions by @RomanPrivalov:

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

49 active golfers, 187 entries

Solutions by @RomanPrivalov:
22
#7 - Roman Privalov / @RomanPrivalov

09/14/2021 at 04:22PM

23
#>21 - Roman Privalov / @RomanPrivalov

09/14/2021 at 04:17PM

23
#>21 - Roman Privalov / @RomanPrivalov

09/14/2021 at 04:22PM

24
#>26 - Roman Privalov / @RomanPrivalov

09/14/2021 at 04:08PM

25
#>31 - Roman Privalov / @RomanPrivalov

09/14/2021 at 04:01PM

25
#>31 - Roman Privalov / @RomanPrivalov

09/14/2021 at 04:04PM

27
#>35 - Roman Privalov / @RomanPrivalov

09/14/2021 at 03:58PM