reddit / emacs

How to get doom emacs/ spacemacs key bindings without installing them?

LowCom · 2022-06-22 15:06
I only want the key bindings of doom/spacemacs and not the other features. Individually mapping them all would be too much work. Is there a list where I can just copy them all to my config?
TheFrenchPoulp · 2022-06-22 15:37
> Is there a list where I can just copy them all to my config? The list is in the source why would people want to maintain it twice :-) That being said, "the key bindings of doom/spacemacs" is a little unclear but note that [`evil`](https://github.com/emacs-evil/evil) and [`evil-collection`](https://github.com/emacs-evil/evil-collection) exist
MitchellMarquez42 · 2022-06-22 16:39
I recommend seeing which keys you actually use, and binding those. https://github.com/noctuid/general.el is an excellent package for creating leader keys, and mapping in _general_. I. E. To switch buffers with SPC SPC you do: ``` (general-define-key :states 'normal "SPC SPC" 'evil-buffer) ``` Doom uses General internally, so if you poke around on the github you should be able to find some more definitions.