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

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

342 active golfers, 1637 entries

Solutions by @hutchinsp01:
16
#38 - Paul Hutchins / @hutchinsp01

06/26/2025 at 06:19AM

17
#>86 - Paul Hutchins / @hutchinsp01

06/26/2025 at 06:16AM

18
#>100 - Paul Hutchins / @hutchinsp01

06/26/2025 at 06:13AM

20
#>114 - Paul Hutchins / @hutchinsp01

06/26/2025 at 05:59AM

23
#>162 - Paul Hutchins / @hutchinsp01

06/26/2025 at 03:55AM

24
#>173 - Paul Hutchins / @hutchinsp01

06/26/2025 at 03:48AM

25
#>185 - Paul Hutchins / @hutchinsp01

06/26/2025 at 03:47AM

27
#>196 - Paul Hutchins / @hutchinsp01

06/26/2025 at 03:44AM

29
#>221 - Paul Hutchins / @hutchinsp01

06/26/2025 at 03:40AM

32
#>245 - Paul Hutchins / @hutchinsp01

06/26/2025 at 03:35AM

32
#>245 - Paul Hutchins / @hutchinsp01

06/26/2025 at 03:38AM

33
#>250 - Paul Hutchins / @hutchinsp01

06/26/2025 at 03:38AM

40
#>283 - Paul Hutchins / @hutchinsp01

06/26/2025 at 03:29AM