Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Check out general.el. Been using it since transitioning from doom to a fully custom config and it's been really easy to work with.
Along with General, you can take a look at some other packages for keybindings and modal editing. A good option is RollYourOwn Modal mode. In the documentation there, it also lists several other packages with pre-defined bindings. Xah-Fly-Keys is specifically designed for ergonomics and may be interesting to explore.
Evaluate it with "C-1 C-x C-e", the result will be printed there, you can use lispy to split it into multiple lines, but if you don't here's my result with vanilla Doom: https://gitlab.com/-/snippets/2351478
;; Bind them (assume that you use https://github.com/emacs-evil/evil): (cl-loop for (key . def) in my-doom-leader-alist do (evil-define-key '(normal visual motion) 'global (kbd (concat "SPC " key)) def)) ```
Hey there. I migrated from Doom to vanilla Emacs earlier this year and went through the process of backporting a bunch of Doom's features into vanilla. As others have said, general.el is the package you want to do this. Doom doesn't really replace the control key with space. Rather, it defines keybindings that allow you to chord the default keybindings with the space prefix. While I haven't ported every hotkey over (and have changed some of the keybindings), the code in my config replicates Doom's behavior (prefix with the space leader key). You should also use which-key, which will show the available hotkeys after pressing a prefix. Doom has this enabled by default and there is no configuration required to get it working with the general prefix keys.