Make org-return-dwim work again

This commit is contained in:
TEC 2020-06-06 12:57:02 +08:00
parent be7ba44845
commit 0cc6f8a238
1 changed files with 6 additions and 2 deletions

View File

@ -3554,8 +3554,12 @@ appropriate. In tables, insert a new row or end the table."
(org-return t))))
(t
;; All other cases: call `org-return-indent'.
(org-return t)))))
(advice-add #'org-return-indent :override #'unpackaged/org-return-dwim))
(org-return t))))))
(map!
:after evil-org
:map evil-org-mode-map
:i [return] #'unpackaged/org-return-dwim)
#+END_SRC
**** Org Plot
There are two main bits of extra functionality I wan to add