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

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

282 active golfers, 1089 entries

Solutions by @efettf:
22
#83 - efettf / @efettf

11/01/2024 at 09:14PM

23
#>98 - efettf / @efettf

11/01/2024 at 09:13PM

24
#>113 - efettf / @efettf

11/01/2024 at 09:11PM

25
#>135 - efettf / @efettf

11/01/2024 at 09:10PM

26
#>148 - efettf / @efettf

11/01/2024 at 09:09PM

27
#>181 - efettf / @efettf

11/01/2024 at 09:08PM

28
#>198 - efettf / @efettf

11/01/2024 at 09:06PM

29
#>210 - efettf / @efettf

11/01/2024 at 09:05PM

30
#>219 - efettf / @efettf

11/01/2024 at 09:00PM

30
#>219 - efettf / @efettf

11/01/2024 at 09:05PM

33
#>238 - efettf / @efettf

11/01/2024 at 08:58PM