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 @008Genkai:

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

283 active golfers, 1090 entries

Solutions by @008Genkai:
21
#25 - 大矢元海 / @008Genkai

07/10/2020 at 09:58PM

22
#>63 - 大矢元海 / @008Genkai

07/10/2020 at 12:31AM

22
#>63 - 大矢元海 / @008Genkai

07/10/2020 at 12:32AM

23
#>91 - 大矢元海 / @008Genkai

07/10/2020 at 12:30AM

24
#>108 - 大矢元海 / @008Genkai

07/10/2020 at 12:27AM

24
#>108 - 大矢元海 / @008Genkai

07/10/2020 at 12:28AM

25
#>126 - 大矢元海 / @008Genkai

07/10/2020 at 12:25AM

26
#>143 - 大矢元海 / @008Genkai

07/10/2020 at 12:24AM

26
#>143 - 大矢元海 / @008Genkai

07/10/2020 at 12:31AM

27
#>174 - 大矢元海 / @008Genkai

07/10/2020 at 12:23AM

29
#>205 - 大矢元海 / @008Genkai

07/10/2020 at 12:20AM

30
#>218 - 大矢元海 / @008Genkai

07/10/2020 at 12:22AM