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

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

236 active golfers, 1073 entries

Solutions by @tobiasldn:
16
#36 - Tobias / @tobiasldn

06/20/2025 at 07:12PM

16
#>36 - Tobias / @tobiasldn

06/20/2025 at 07:14PM

17
#>62 - Tobias / @tobiasldn

06/20/2025 at 07:11PM

19
#>75 - Tobias / @tobiasldn

06/20/2025 at 07:09PM

20
#>79 - Tobias / @tobiasldn

06/20/2025 at 07:04PM

21
#>86 - Tobias / @tobiasldn

06/20/2025 at 06:59PM

22
#>100 - Tobias / @tobiasldn

06/20/2025 at 04:05PM

23
#>111 - Tobias / @tobiasldn

06/20/2025 at 04:04PM

24
#>121 - Tobias / @tobiasldn

06/20/2025 at 04:02PM

25
#>129 - Tobias / @tobiasldn

06/20/2025 at 03:44PM

27
#>138 - Tobias / @tobiasldn

06/20/2025 at 03:36PM

28
#>148 - Tobias / @tobiasldn

06/20/2025 at 03:32PM

29
#>158 - Tobias / @tobiasldn

06/20/2025 at 03:23PM

29
#>158 - Tobias / @tobiasldn

06/20/2025 at 03:30PM

31
#>167 - Tobias / @tobiasldn

06/20/2025 at 03:20PM

31
#>167 - Tobias / @tobiasldn

06/20/2025 at 03:29PM