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

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

285 active golfers, 1094 entries

Solutions by @HorningMitchell:
22
#64 - Mitchell Horning / @HorningMitchell

07/14/2020 at 12:47AM

23
#>91 - Mitchell Horning / @HorningMitchell

07/14/2020 at 12:43AM

24
#>109 - Mitchell Horning / @HorningMitchell

07/10/2020 at 09:54PM

24
#>109 - Mitchell Horning / @HorningMitchell

07/10/2020 at 09:55PM

25
#>127 - Mitchell Horning / @HorningMitchell

07/10/2020 at 09:51PM

26
#>144 - Mitchell Horning / @HorningMitchell

07/10/2020 at 09:49PM

32
#>232 - Mitchell Horning / @HorningMitchell

07/10/2020 at 09:28PM