Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emacs Evil <E> mode and org-mode

I have recent started using emacs, Evil and org-mode together. When taking notes in org-mode sometimes the program will go into an < E > mode which I can see on the status bar at the bottom of the frame. When starting emacs I usually see a < N > on the status bar.

I am assuming that

< N > - is for normal mode

< I > - is for insert mode

What is < E > mode?

How do I return to normal mode without having to restart emacs?

like image 553
user3834928 Avatar asked Jul 13 '14 19:07

user3834928


People also ask

What is org mode in Emacs?

Emacs Org mode gives you a complete interface for interacting with your systems. Whether you have a fleet of servers, or you’re a freelance web designer with a small cluster of clients, Org mode can help you keep track of your work while in the normal course of your daily activities.

How do I use evil with Emacs?

If your .emacs file has a custom-set-variables section, you should place it after Evil. Evil requires undo-tree.el in the load-path for linear undo and undo branches. Otherwise, Evil uses regular Emacs undo. A brief PDF manual is available in the /doc subdirectory. There is also a guide on Github made by Noctuid evil-guide.

Why does Org-evil require evil-org mode?

The reason it comes up with evil-org mode is that it requires it itself because evil is a dependency of org-evil. If you want to invoke evil-mode yourself you need to require evil. Thanks for the tip, I tried it, but (require 'evil) throws an error: no such file or directory. I presume you meant add this as a line to my ~/.emacs?

What is the difference between Evil-Mark-replace and evil-ARGs?

evil-mark-replace: Replace the thing in EVIL way. The thing is either the symbol under cursor or the selected text. evil-args: Motions and text objects for delimited arguments in Evil. evil-visualstar: Uses current visual selection when * or # is pressed. evil-snipe: Port of vim-sneak / vim-seek.


1 Answers

It means you somehow got into "Emacs" state, which uses the standard Emacs keymap. You can get back to "Normal state" with M-x evil-normal-state. (Just in case you're brand new: M-x means "Meta-x", which in practice means "Alt-x").

like image 198
Dan Avatar answered Sep 23 '22 09:09

Dan