I'm currently running Spacemacs+evil and pressing C-RET
calls evil-org-org-insert-heading-respect-content-below
, which inserts a a heading below the current one.
I couldn't find a dual/mirror command that would create a heading above the current one, though. Is there one, or what's a good implementation that does this?
Note: I'm self-answering with my solution, which is the first elisp I've ever written and is very tied to Spacemacs+evil, but I would love it if others could chime in with snippets that don't depend on Spacemacs nor evil and are as such more useful to the general org-mode user. Thanks!