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

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

273 active golfers, 1053 entries

Solutions by @ho_wan_:
22
#47 - howanto / @ho_wan_

02/15/2020 at 09:35PM

22
#>47 - howanto / @ho_wan_

02/15/2020 at 09:38PM

22
#>47 - howanto / @ho_wan_

02/15/2020 at 09:40PM

23
#>82 - howanto / @ho_wan_

02/15/2020 at 09:33PM

24
#>97 - howanto / @ho_wan_

02/15/2020 at 09:32PM

25
#>115 - howanto / @ho_wan_

02/15/2020 at 09:31PM

27
#>149 - howanto / @ho_wan_

02/15/2020 at 09:30PM

28
#>178 - howanto / @ho_wan_

02/15/2020 at 09:27PM

36
#>242 - howanto / @ho_wan_

02/15/2020 at 09:22PM

41
#>255 - howanto / @ho_wan_

02/15/2020 at 09:21PM

57
#>268 - howanto / @ho_wan_

02/15/2020 at 09:19PM