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

335 active golfers, 1600 entries

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

02/02/2026 at 03:51PM

35
#>265 - Sean Morris / @SeanJMorris

02/01/2026 at 02:45AM

36
#>268 - Sean Morris / @SeanJMorris

02/01/2026 at 02:42AM

37
#>270 - Sean Morris / @SeanJMorris

02/02/2026 at 03:48PM

41
#>280 - Sean Morris / @SeanJMorris

02/01/2026 at 02:48AM

41
#>282 - Sean Morris / @SeanJMorris

02/22/2026 at 04:27PM

42
#>283 - Sean Morris / @SeanJMorris

02/01/2026 at 02:35AM

42
#>283 - Sean Morris / @SeanJMorris

02/01/2026 at 02:52AM

42
#>283 - Sean Morris / @SeanJMorris

02/02/2026 at 03:48PM

44
#>289 - Sean Morris / @SeanJMorris

02/01/2026 at 02:40AM

44
#>289 - Sean Morris / @SeanJMorris

02/01/2026 at 02:49AM

45
#>290 - Sean Morris / @SeanJMorris

02/01/2026 at 02:37AM

48
#>296 - Sean Morris / @SeanJMorris

02/01/2026 at 02:47AM

59
#>315 - Sean Morris / @SeanJMorris

02/01/2026 at 02:38AM

66
#>320 - Sean Morris / @SeanJMorris

02/01/2026 at 02:33AM

66
#>320 - Sean Morris / @SeanJMorris

02/01/2026 at 02:51AM

74
#>322 - Sean Morris / @SeanJMorris

02/01/2026 at 02:32AM

82
#>326 - Sean Morris / @SeanJMorris

02/01/2026 at 02:34AM

127
#>333 - Sean Morris / @SeanJMorris

02/01/2026 at 02:30AM