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

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

273 active golfers, 1053 entries

Solutions by @Xor547:
21
#2 - Xor547 / @Xor547

02/09/2020 at 04:16PM

22
#>42 - Xor547 / @Xor547

02/09/2020 at 04:15PM

23
#>81 - Xor547 / @Xor547

02/09/2020 at 04:14PM

24
#>97 - Xor547 / @Xor547

02/09/2020 at 04:13PM

25
#>112 - Xor547 / @Xor547

02/09/2020 at 04:12PM

27
#>147 - Xor547 / @Xor547

02/09/2020 at 04:10PM

28
#>177 - Xor547 / @Xor547

02/08/2020 at 07:52AM

29
#>192 - Xor547 / @Xor547

02/08/2020 at 07:50AM

32
#>220 - Xor547 / @Xor547

02/08/2020 at 07:43AM

54
#>267 - Xor547 / @Xor547

02/08/2020 at 07:39AM