2

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

https://github.com/hlissner/doom-emacs

1 Answer 1

3

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.

3
  • 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, 2019 at 4:24
  • @02040402 hlissner suggests M-x term in issue 40 of doom-emacs.
    – Tobias
    Jun 24, 2019 at 17:38
  • Thank you! That's should exit terminal and kill buffer to quit.
    – 02040402
    Jun 25, 2019 at 1:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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