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

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

274 active golfers, 1054 entries

Solutions by @ambidextrousTx:
21
#32 - Ravi S Sinha / @ambidextrousTx

12/15/2020 at 12:03AM

22
#>75 - Ravi S Sinha / @ambidextrousTx

12/15/2020 at 12:02AM

23
#>92 - Ravi S Sinha / @ambidextrousTx

12/15/2020 at 12:01AM

24
#>108 - Ravi S Sinha / @ambidextrousTx

12/15/2020 at 12:01AM

25
#>126 - Ravi S Sinha / @ambidextrousTx

12/15/2020 at 12:00AM

26
#>141 - Ravi S Sinha / @ambidextrousTx

12/14/2020 at 11:59PM

27
#>172 - Ravi S Sinha / @ambidextrousTx

12/14/2020 at 11:58PM

28
#>189 - Ravi S Sinha / @ambidextrousTx

12/14/2020 at 11:57PM

29
#>201 - Ravi S Sinha / @ambidextrousTx

12/14/2020 at 11:54PM

29
#>201 - Ravi S Sinha / @ambidextrousTx

12/14/2020 at 11:56PM

30
#>212 - Ravi S Sinha / @ambidextrousTx

12/14/2020 at 11:51PM

31
#>220 - Ravi S Sinha / @ambidextrousTx

12/14/2020 at 11:47PM