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

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

283 active golfers, 1090 entries

Solutions by @jrddp0:
21
#4 - jrddp / @jrddp0

02/12/2020 at 01:29AM

22
#>47 - jrddp / @jrddp0

02/12/2020 at 01:28AM

23
#>83 - jrddp / @jrddp0

02/12/2020 at 01:24AM

24
#>101 - jrddp / @jrddp0

02/12/2020 at 01:23AM

25
#>118 - jrddp / @jrddp0

02/12/2020 at 01:16AM

26
#>136 - jrddp / @jrddp0

02/12/2020 at 01:22AM

27
#>153 - jrddp / @jrddp0

02/12/2020 at 01:14AM

28
#>184 - jrddp / @jrddp0

02/12/2020 at 01:11AM

29
#>200 - jrddp / @jrddp0

02/12/2020 at 01:06AM

30
#>213 - jrddp / @jrddp0

02/12/2020 at 12:56AM

31
#>222 - jrddp / @jrddp0

02/12/2020 at 12:58AM

33
#>235 - jrddp / @jrddp0

02/12/2020 at 12:54AM

36
#>250 - jrddp / @jrddp0

02/12/2020 at 12:55AM