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

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

339 active golfers, 1617 entries

Solutions by @YeomenWarder:
17
#90 - ヨーマンウォーダ / @YeomenWarder

12/06/2025 at 07:47AM

18
#>99 - ヨーマンウォーダ / @YeomenWarder

12/06/2025 at 07:46AM

19
#>107 - ヨーマンウォーダ / @YeomenWarder

12/06/2025 at 07:46AM

20
#>114 - ヨーマンウォーダ / @YeomenWarder

12/06/2025 at 07:44AM

21
#>123 - ヨーマンウォーダ / @YeomenWarder

12/06/2025 at 07:40AM

22
#>142 - ヨーマンウォーダ / @YeomenWarder

12/06/2025 at 07:38AM

23
#>161 - ヨーマンウォーダ / @YeomenWarder

12/06/2025 at 07:36AM

27
#>194 - ヨーマンウォーダ / @YeomenWarder

12/06/2025 at 07:33AM

30
#>230 - ヨーマンウォーダ / @YeomenWarder

12/06/2025 at 07:32AM

37
#>272 - ヨーマンウォーダ / @YeomenWarder

12/06/2025 at 07:30AM