When I press o in evil mode (which moves the cursor to the line under, and goes into insert mode), the cursor is indented by two spaces.
When I press o, the cursor goes
here
This happens in text mode
and elisp
buffers.
I tried to shut it off with this:
(defun remove-autoindent ()
(electric-indent-mode nil))
(add-hook 'emacs-lisp-mode-hook 'remove-autoindent)
(add-hook 'text-mode-hook 'remove-autoindent)
But it didn't work. Which setting is causing this behavior?
I do not have any indent instructions outside of web-mode
:config
within use-package
.
emacs -q
, at least not in text-mode)