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

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

46 active golfers, 175 entries

Solutions by @pikjes2:
23
#20 - pikjes / @pikjes2

03/21/2021 at 07:14PM

24
#>25 - pikjes / @pikjes2

03/21/2021 at 07:14PM

25
#>29 - pikjes / @pikjes2

03/21/2021 at 07:13PM

27
#>32 - pikjes / @pikjes2

03/21/2021 at 07:12PM

28
#>37 - pikjes / @pikjes2

03/21/2021 at 07:10PM

29
#>38 - pikjes / @pikjes2

03/21/2021 at 07:10PM

30
#>39 - pikjes / @pikjes2

03/21/2021 at 07:09PM

31
#>42 - pikjes / @pikjes2

03/21/2021 at 07:08PM

32
#>42 - pikjes / @pikjes2

03/21/2021 at 07:03PM

32
#>42 - pikjes / @pikjes2

03/21/2021 at 07:06PM

35
#>45 - pikjes / @pikjes2

03/21/2021 at 07:05PM

44
#>45 - pikjes / @pikjes2

03/21/2021 at 07:00PM