Skip to content
Discussion options

You must be logged in to vote

Hi, @dinojr!

I think you have discovered a bug. I can see that embark-file-map¹ ships a map "s" to make-symbolic-link, but Doom’s vertico config overrides it to doom/sudo-find-file.

As a workaround, you could just add this to your ~/.config/doom/config.el:

(map! :after embark
      :map embark-file-map
      :desc "Symlink action!" ;; either omit this line or write something appropriate
      "S" #'make-symbolic-link)

I think a better fix would be to change the sudo-find-file override from "s" to "S", that way, it won’t clobber the make-symbolic-link binding of the original map.

UPDATE: I’ve made a PR #13 to fix this.
UPDATE 2: Which has been merged, yay!

¹: SPC h v embark-file-map

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hlissner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment