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 @cat-phish:

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

342 active golfers, 1637 entries

Solutions by @cat-phish:
16
#59 - Jordan Vaandering / @cat-phish

02/26/2026 at 09:04AM

17
#>95 - Jordan Vaandering / @cat-phish

02/26/2026 at 08:54AM

18
#>101 - Jordan Vaandering / @cat-phish

02/26/2026 at 08:51AM

19
#>110 - Jordan Vaandering / @cat-phish

02/26/2026 at 08:49AM

20
#>116 - Jordan Vaandering / @cat-phish

02/26/2026 at 08:46AM

21
#>126 - Jordan Vaandering / @cat-phish

02/26/2026 at 08:43AM

22
#>147 - Jordan Vaandering / @cat-phish

02/25/2026 at 11:59PM

23
#>164 - Jordan Vaandering / @cat-phish

02/25/2026 at 11:57PM

24
#>174 - Jordan Vaandering / @cat-phish

02/25/2026 at 11:53PM

26
#>192 - Jordan Vaandering / @cat-phish

02/25/2026 at 11:49PM

30
#>234 - Jordan Vaandering / @cat-phish

02/24/2026 at 02:35AM

33
#>254 - Jordan Vaandering / @cat-phish

02/23/2026 at 09:04PM

45
#>295 - Jordan Vaandering / @cat-phish

02/23/2026 at 08:42PM