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

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

236 active golfers, 1073 entries

Solutions by @b2vqbw:
16
#43 - Benjamin / @b2vqbw

07/16/2025 at 03:04PM

17
#>62 - Benjamin / @b2vqbw

07/16/2025 at 03:01PM

18
#>66 - Benjamin / @b2vqbw

07/16/2025 at 02:59PM

19
#>75 - Benjamin / @b2vqbw

07/16/2025 at 02:56PM

21
#>86 - Benjamin / @b2vqbw

07/16/2025 at 02:47PM

22
#>100 - Benjamin / @b2vqbw

07/16/2025 at 02:43PM

23
#>113 - Benjamin / @b2vqbw

07/16/2025 at 02:30PM

24
#>121 - Benjamin / @b2vqbw

07/16/2025 at 02:26PM

26
#>134 - Benjamin / @b2vqbw

07/16/2025 at 02:11PM

29
#>159 - Benjamin / @b2vqbw

07/16/2025 at 02:06PM