I am using spacemacs which contains org-mode
and evil
. Whenever I insert a heading (either org-insert-heading
, org-insert-heading-after-current
or org-insert-subheading
), I have to do two extra actions: move cursor to the end of line, change to insert mode to start typing. How do I get these two actions done automatically for all the insert heading functions?
What I am thinking now is to write wraper functions for these functions, and then redefine the shortcut keys. But wouldn't there be a better way?