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

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

312 active golfers, 1527 entries

Solutions by @SeanJMorris:
34
#239 - Sean Morris / @SeanJMorris

02/02/2026 at 03:51PM

35
#>247 - Sean Morris / @SeanJMorris

02/01/2026 at 02:45AM

36
#>250 - Sean Morris / @SeanJMorris

02/01/2026 at 02:42AM

37
#>251 - Sean Morris / @SeanJMorris

02/02/2026 at 03:48PM

41
#>260 - Sean Morris / @SeanJMorris

02/01/2026 at 02:48AM

41
#>262 - Sean Morris / @SeanJMorris

02/22/2026 at 04:27PM

42
#>262 - Sean Morris / @SeanJMorris

02/01/2026 at 02:35AM

42
#>262 - Sean Morris / @SeanJMorris

02/01/2026 at 02:52AM

42
#>262 - Sean Morris / @SeanJMorris

02/02/2026 at 03:48PM

44
#>267 - Sean Morris / @SeanJMorris

02/01/2026 at 02:40AM

44
#>267 - Sean Morris / @SeanJMorris

02/01/2026 at 02:49AM

45
#>268 - Sean Morris / @SeanJMorris

02/01/2026 at 02:37AM

48
#>274 - Sean Morris / @SeanJMorris

02/01/2026 at 02:47AM

59
#>292 - Sean Morris / @SeanJMorris

02/01/2026 at 02:38AM

66
#>297 - Sean Morris / @SeanJMorris

02/01/2026 at 02:33AM

66
#>297 - Sean Morris / @SeanJMorris

02/01/2026 at 02:51AM

74
#>299 - Sean Morris / @SeanJMorris

02/01/2026 at 02:32AM

82
#>303 - Sean Morris / @SeanJMorris

02/01/2026 at 02:34AM

127
#>310 - Sean Morris / @SeanJMorris

02/01/2026 at 02:30AM