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

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

298 active golfers, 1459 entries

Solutions by @GavinKoeng:
16
#50 - Gavin / @GavinKoeng

10/29/2025 at 09:00AM

17
#>76 - Gavin / @GavinKoeng

10/29/2025 at 08:56AM

18
#>88 - Gavin / @GavinKoeng

10/29/2025 at 08:55AM

19
#>96 - Gavin / @GavinKoeng

10/29/2025 at 08:48AM

19
#>96 - Gavin / @GavinKoeng

10/29/2025 at 08:52AM

19
#>96 - Gavin / @GavinKoeng

10/29/2025 at 08:53AM

20
#>102 - Gavin / @GavinKoeng

10/29/2025 at 08:46AM

21
#>111 - Gavin / @GavinKoeng

10/29/2025 at 08:45AM

21
#>111 - Gavin / @GavinKoeng

10/29/2025 at 08:46AM

22
#>128 - Gavin / @GavinKoeng

10/29/2025 at 08:30AM

22
#>128 - Gavin / @GavinKoeng

10/29/2025 at 08:42AM

23
#>143 - Gavin / @GavinKoeng

10/29/2025 at 08:27AM

24
#>153 - Gavin / @GavinKoeng

10/29/2025 at 08:24AM

27
#>175 - Gavin / @GavinKoeng

10/29/2025 at 08:22AM

29
#>199 - Gavin / @GavinKoeng

10/29/2025 at 08:21AM

31
#>210 - Gavin / @GavinKoeng

10/29/2025 at 08:19AM

49
#>264 - Gavin / @GavinKoeng

10/29/2025 at 08:15AM

111
#>294 - Gavin / @GavinKoeng

10/29/2025 at 08:13AM