(defun evil-org-eol-call (fun)
"Go to end of line and call provided function. FUN function callback"
(end-of-line)
(funcall fun)
(evil-append nil)
)
This works better if the call to #'end-of-line is changed to call #'org-end-of-line (otherwise pressing 'o' on a folded category does not correctly insert a clean line, it ends up stuck in the nested text).
Currently you have:
This works better if the call to #'end-of-line is changed to call #'org-end-of-line (otherwise pressing 'o' on a folded category does not correctly insert a clean line, it ends up stuck in the nested text).