How to get doom emacs keybindings?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/emacs

Our great sponsors
  • SonarLint - Clean code begins in your IDE with SonarLint
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
  • general.el

    More convenient key definitions in emacs

    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.

  • ryo-modal

    Roll your own modal mode

    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.

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • snippets

    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

  • evil

    The extensible vi layer for Emacs.

    ;; 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)) ```

  • emacs-which-key

    Emacs package that displays available keybindings in popup

    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.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts