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

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

347 active golfers, 1654 entries

Solutions by @auk1709:
23
#170 - Koki / @auk1709

10/24/2026 at 01:59PM

24
#>180 - Koki / @auk1709

10/24/2026 at 01:35PM

33
#>261 - Koki / @auk1709

10/24/2026 at 01:15PM

35
#>275 - Koki / @auk1709

10/24/2026 at 01:14PM

36
#>279 - Koki / @auk1709

10/24/2026 at 12:59PM

39
#>287 - Koki / @auk1709

10/24/2026 at 12:52PM

41
#>293 - Koki / @auk1709

10/24/2026 at 12:49PM

45
#>300 - Koki / @auk1709

10/24/2026 at 08:44AM

49
#>308 - Koki / @auk1709

10/24/2026 at 08:19AM

60
#>325 - Koki / @auk1709

10/24/2026 at 08:18AM

62
#>327 - Koki / @auk1709

10/24/2026 at 08:14AM