📚 node [[tweaking doom emacs to use spc spc]]

Tweaking Doom Emacs to use SPC SPC

I've always liked the SPC SPC binding for M-x in [[spacemacs]]. It's perhaps the easiest keychaim to access so it makes it easy to run commands quickly.

So I missed it in [[Doom Emacs]] - especially as I'm using that on mobile. In Doom, SPC : is bound to M-x. I appreciate the inclination behind it - to feel familiar to : for commands in vi - but SPC : is a bit of a pain on my mobile keyboard.

So:

(map! :leader
      "SPC" nil
      :desc "M-x" "SPC" #'execute-extended-command)

in /.doom.d/config.el gives me back SPC SPC for commands.

That means that SPC SPC no longer provides the find file in project behaviour that it's bound to by default in Doom, but that's OK, I can use SPC p f for that.

📖 stoas
⥱ context