mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user