edwtjo / evil-org-mode

Supplemental evil-mode keybindings to emacs org-mode
204 stars 37 forks source link

evil-org.el problem in evil-org-eol-call #26

Open ahungry opened 8 years ago

ahungry commented 8 years ago

Currently you have:

(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).