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

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

70 active golfers, 273 entries

Solutions by @BlockLune:
16
#8 - BlockLune / @BlockLune

12/19/2024 at 06:51AM

17
#>15 - BlockLune / @BlockLune

12/19/2024 at 06:49AM

18
#>19 - BlockLune / @BlockLune

12/19/2024 at 06:48AM

21
#>26 - BlockLune / @BlockLune

12/19/2024 at 06:46AM

22
#>29 - BlockLune / @BlockLune

12/19/2024 at 06:40AM

23
#>35 - BlockLune / @BlockLune

12/19/2024 at 06:39AM

24
#>36 - BlockLune / @BlockLune

12/19/2024 at 06:36AM

27
#>40 - BlockLune / @BlockLune

12/19/2024 at 06:33AM

29
#>45 - BlockLune / @BlockLune

12/19/2024 at 06:31AM

30
#>46 - BlockLune / @BlockLune

12/19/2024 at 06:29AM

31
#>47 - BlockLune / @BlockLune

12/19/2024 at 06:28AM

35
#>50 - BlockLune / @BlockLune

12/19/2024 at 06:25AM

35
#>50 - BlockLune / @BlockLune

12/19/2024 at 06:27AM

40
#>55 - BlockLune / @BlockLune

12/19/2024 at 06:22AM