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

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

56 active golfers, 211 entries

Solutions by @park_jungy:
22
#6 - Jung Yeon Park / @park_jungy

02/06/2021 at 11:14PM

23
#>19 - Jung Yeon Park / @park_jungy

02/06/2021 at 11:13PM

24
#>29 - Jung Yeon Park / @park_jungy

02/06/2021 at 11:13PM

25
#>34 - Jung Yeon Park / @park_jungy

02/06/2021 at 11:12PM

27
#>37 - Jung Yeon Park / @park_jungy

02/06/2021 at 11:11PM

28
#>42 - Jung Yeon Park / @park_jungy

02/06/2021 at 11:09PM

30
#>46 - Jung Yeon Park / @park_jungy

02/06/2021 at 11:08PM