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

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

60 active golfers, 239 entries

Solutions by @Jianfen22425058:
23
#22 - Jianfeng / @Jianfen22425058

01/31/2021 at 07:57AM

24
#>32 - Jianfeng / @Jianfen22425058

01/31/2021 at 07:52AM

25
#>37 - Jianfeng / @Jianfen22425058

01/31/2021 at 07:50AM

27
#>40 - Jianfeng / @Jianfen22425058

01/31/2021 at 07:20AM

28
#>45 - Jianfeng / @Jianfen22425058

01/31/2021 at 03:25AM

28
#>45 - Jianfeng / @Jianfen22425058

01/31/2021 at 07:38AM

28
#>45 - Jianfeng / @Jianfen22425058

01/31/2021 at 07:40AM

29
#>46 - Jianfeng / @Jianfen22425058

01/31/2021 at 03:24AM

30
#>49 - Jianfeng / @Jianfen22425058

01/31/2021 at 03:23AM

31
#>52 - Jianfeng / @Jianfen22425058

01/31/2021 at 03:11AM

33
#>54 - Jianfeng / @Jianfen22425058

01/31/2021 at 03:22AM

34
#>56 - Jianfeng / @Jianfen22425058

01/31/2021 at 03:08AM

35
#>57 - Jianfeng / @Jianfen22425058

01/31/2021 at 07:26AM

36
#>59 - Jianfeng / @Jianfen22425058

01/31/2021 at 03:04AM

36
#>59 - Jianfeng / @Jianfen22425058

01/31/2021 at 03:06AM