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

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

229 active golfers, 875 entries

Solutions by @FennStefan:
21
#27 - fenn.stefan@gmail.com / @FennStefan

08/25/2020 at 06:10PM

22
#>57 - fenn.stefan@gmail.com / @FennStefan

08/25/2020 at 03:48PM

23
#>72 - fenn.stefan@gmail.com / @FennStefan

08/25/2020 at 03:46PM

24
#>84 - fenn.stefan@gmail.com / @FennStefan

08/25/2020 at 03:43PM

25
#>102 - fenn.stefan@gmail.com / @FennStefan

08/25/2020 at 03:42PM

26
#>112 - fenn.stefan@gmail.com / @FennStefan

08/25/2020 at 03:40PM

27
#>140 - fenn.stefan@gmail.com / @FennStefan

08/25/2020 at 03:32PM

28
#>154 - fenn.stefan@gmail.com / @FennStefan

08/25/2020 at 03:25PM

29
#>163 - fenn.stefan@gmail.com / @FennStefan

08/25/2020 at 03:21PM

39
#>208 - fenn.stefan@gmail.com / @FennStefan

08/25/2020 at 03:12PM