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 5e3ca51e6ea90a00096b3007

Quote modules (ver.2)

Complete golang import statement.

Start file
import
    log
    net/http

    graphql github.com/graph-gophers/graphql-go
    github.com/graph-gophers/graphql-go/relay
End file
import (
    "log"
    "net/http"

    graphql "github.com/graph-gophers/graphql-go"
    "github.com/graph-gophers/graphql-go/relay"
)

View Diff

1,3c1,3
< import
<     log
<     net/http
---
> import (
>     "log"
>     "net/http"
5,6c5,7
<     graphql github.com/graph-gophers/graphql-go
<     github.com/graph-gophers/graphql-go/relay
---
>     graphql "github.com/graph-gophers/graphql-go"
>     "github.com/graph-gophers/graphql-go/relay"
> )

Solutions by @fishermryn:

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

60 active golfers, 239 entries

Solutions by @fishermryn:
24
#32 - 于吉星 / @fishermryn

05/29/2020 at 03:13AM

25
#>37 - 于吉星 / @fishermryn

05/29/2020 at 03:08AM

27
#>40 - 于吉星 / @fishermryn

05/29/2020 at 03:06AM

28
#>45 - 于吉星 / @fishermryn

05/29/2020 at 02:54AM

29
#>46 - 于吉星 / @fishermryn

05/29/2020 at 02:50AM

30
#>49 - 于吉星 / @fishermryn

05/29/2020 at 02:49AM

31
#>51 - 于吉星 / @fishermryn

05/29/2020 at 02:48AM

33
#>54 - 于吉星 / @fishermryn

05/29/2020 at 02:44AM

36
#>59 - 于吉星 / @fishermryn

05/29/2020 at 02:42AM