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

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

229 active golfers, 875 entries

Solutions by @muryliang:
21
#16 - mury liang / @muryliang

04/04/2020 at 08:41AM

22
#>46 - mury liang / @muryliang

04/04/2020 at 08:37AM

23
#>67 - mury liang / @muryliang

04/04/2020 at 08:34AM

24
#>80 - mury liang / @muryliang

04/04/2020 at 08:27AM

25
#>97 - mury liang / @muryliang

04/04/2020 at 08:23AM

26
#>106 - mury liang / @muryliang

04/04/2020 at 08:22AM

27
#>130 - mury liang / @muryliang

04/04/2020 at 08:18AM

28
#>148 - mury liang / @muryliang

04/04/2020 at 08:16AM

29
#>161 - mury liang / @muryliang

04/04/2020 at 08:15AM

30
#>171 - mury liang / @muryliang

04/04/2020 at 08:12AM

77
#>226 - mury liang / @muryliang

04/04/2020 at 07:52AM