I have been working with org mode for some time, and recently installed evil mode and evil org mode via the melpa package tool.
For some reason though I cannot run M-x evil-mode (nor does it come up as an autocomplete suggestion), until I have first run M-x org-evil-mode. This is even the case if I am in fundamental mode, which seems very strange.
I have the following lines in my ~/.emacs which may have something to do with it, though as I said I have the same problem even if I manually switch to fundamental mode.
;;;;org-mode as default
;; Enable org-mode
(require 'org)
;; Make org-mode work with file ending in .txt
(add-to-list 'auto-mode-alist '("\\.txt$" . org-mode))
I am using GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.11) of 2017-09-15, modified by Debian.
(require 'evil)
? The reason it comes up withevil-org
mode is that it requires it itself becauseevil
is a dependency oforg-evil
. If you want to invokeevil-mode
yourself you need to require evil. – Aquaactress Mar 19 '18 at 11:51evil
as an ELPA package, thenM-x evil-mode
should work, as package initialization would process evil's autoloads, unless something in your config is preventing that from happening. Make sure that there aren't any errors when your init file is being processed. – phils Mar 20 '18 at 8:34