No evil-org-special-o/O in plain lists by default

evil-org changes the behavior of o/O to create new headlines, plain list
items or table rows. I disable its new behavior in plain lists only.
This was done because:

1. It isn't uncommon to want o/O's default behavior in plain list bodies
   of text. Unlike tables, where a new line in the middle of a table
   doesn't make much sense.
2. M-RET/S-M-RET exists.
This commit is contained in:
Henrik Lissner 2018-07-04 13:26:43 +02:00
parent 38414a636f
commit e8945b2142
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -26,6 +26,7 @@
:hook (org-mode . evil-org-mode)
:init
(defvar evil-org-key-theme '(navigation insert textobjects))
(defvar evil-org-special-o/O '(table-row))
(add-hook 'org-load-hook #'+org|setup-evil)
(add-hook 'evil-org-mode-hook #'evil-normalize-keymaps)
:config