Open specific config files

What happened?

I used the keybind SPC h d c and SPC h d C. This now just did the same thing as SPC f P - find-file in .config/doom.

What did you expect to happen?

This used to open specific files from the config directory, SPC h d c opened config.el and SPC h d C opened init.el. Is this a bug on my side or a deliberate change from on high?

The more relevant question: how can I get the old functionality back? I’ve tried adding something along the lines of this:

(map! :leader
      :desc "Open init.el"
      "h d C" '(find-file "~/.config/doom/init.el"))

but this just doesn’t seem to do anything, even though C-x C-e-ing the lisp statement from the scratch buffer works. Have I just misunderstood how the map! command works?

System information


Loading data dump...