It's default input mode is vim. Didn't find the toggle option like Spacemacs with M-m t E.



The vi emulation of Doom is provided by evil-mode (see Section "Feature Highlights" of readme.md).

The Evil Manual says in Section 1.2 "Modes and states" that you can toggle between Normal state (vi-emulation) and Emacs state (normal keybindings) with the key sequence C-z.

Meanwhile I've tested it with Emacs 26.1 and Doom version 2.0.9. C-z runs the command evil-emacs-state which switches to Emacs mode. But one has to activate it buffer-wise.

If you want to activate Emacs state by default you can customize the variable evil-default-state to emacs.

The key binding C-z is a bit strange though since in Vanilla Emacs C-z is used for suspend-frame.

  • Thank you very much! Another question, do you know how to start terminal within it? I tried SPC o t, returned undefined. – 02040402 Jun 22 '19 at 4:24
  • @02040402 hlissner suggests M-x term in issue 40 of doom-emacs. – Tobias Jun 24 '19 at 17:38
  • Thank you! That's should exit terminal and kill buffer to quit. – 02040402 Jun 25 '19 at 1:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.