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 9v00674f1bfb00000000063d

YAML to dotenv

Convert this YAML config file to a .env file.

Start file
vimgolf:
  logging:
    level: INFO
app:
  postgres:
    host: !ENV {POSTGRES_HOST}
    port: !ENV {POSTGRES_PORT}
  pulsar:
    host: !ENV ${PULSAR_HOST}
    port: !ENV ${PULSAR_PORT}
    namespace: vimgolf
    topic: !ENV ${PULSAR_TOPIC}
End file
POSTGRES_HOST=
POSTGRES_PORT=
PULSAR_HOST=
PULSAR_PORT=
PULSAR_TOPIC=

View Diff

1,12c1,5
< vimgolf:
<   logging:
<     level: INFO
< app:
<   postgres:
<     host: !ENV {POSTGRES_HOST}
<     port: !ENV {POSTGRES_PORT}
<   pulsar:
<     host: !ENV ${PULSAR_HOST}
<     port: !ENV ${PULSAR_PORT}
<     namespace: vimgolf
<     topic: !ENV ${PULSAR_TOPIC}
---
> POSTGRES_HOST=
> POSTGRES_PORT=
> PULSAR_HOST=
> PULSAR_PORT=
> PULSAR_TOPIC=

Solutions by @thomasyang18:

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

262 active golfers, 1226 entries

Solutions by @thomasyang18:
23
#123 - thomasyang18 / @thomasyang18

05/16/2025 at 01:01AM

24
#>134 - thomasyang18 / @thomasyang18

05/16/2025 at 01:00AM

24
#>134 - thomasyang18 / @thomasyang18

05/16/2025 at 01:02AM

27
#>153 - thomasyang18 / @thomasyang18

05/16/2025 at 12:55AM

28
#>161 - thomasyang18 / @thomasyang18

05/16/2025 at 12:54AM

29
#>173 - thomasyang18 / @thomasyang18

05/16/2025 at 12:53AM

31
#>182 - thomasyang18 / @thomasyang18

05/16/2025 at 12:48AM

33
#>193 - thomasyang18 / @thomasyang18

05/16/2025 at 12:47AM

35
#>206 - thomasyang18 / @thomasyang18

05/16/2025 at 12:43AM

36
#>209 - thomasyang18 / @thomasyang18

05/16/2025 at 12:45AM

37
#>210 - thomasyang18 / @thomasyang18

05/16/2025 at 12:42AM

40
#>216 - thomasyang18 / @thomasyang18

05/16/2025 at 12:58AM

41
#>218 - thomasyang18 / @thomasyang18

05/16/2025 at 12:41AM

42
#>218 - thomasyang18 / @thomasyang18

05/16/2025 at 12:39AM

81
#>255 - thomasyang18 / @thomasyang18

05/16/2025 at 12:59AM