drym-org / symex.el

An intuitive way to edit Lisp symbolic expressions ("symexes") structurally in Emacs
Other
272 stars 22 forks source link

Conflict "C-;" with embark-act in Doom Emacs #131

Open staticlong opened 9 months ago

staticlong commented 9 months ago

Symex looks very promising, thank you!

There is conflicting key binding C-; when install symex in Doom Emacs: Warning (iedit): Iedit default key "C-;" is occupied by embark-act. Is there easy way to avoid it?

countvajhula commented 6 months ago

Hey, apologies for the delay. That error message seems to be talking about a conflict with Embark and iedit rather than Symex. If you are still having this issue, I'd try changing the default keybinding for iedit (possibly via M-x customize-variable <RET> iedit-toggle-key-default <RET>).

On the Symex side, in case you are having conflicts, I suggest using Symex with the Evil backend (even if you are not an evil user) rather than Hydra, as that will play nicely with keybindings from other modes. Symex keybindings are only active when you are in the buffer and while in Symex state. If you are still interested in overriding C-; within Symex state (I think this is unlikely), try:

(setq symex--user-evil-keyspec
      '(("C-;" . nil)))

... in your .emacs.d before loading Symex. That is, if you are using use-package, put it in the :init section. See this section of the README for more details.

Let me know if that sorts it or if you are still having an issue.