With the org-evil package, normal state > on a headline executes org-evil-demote, but on normal text it executes evil-shift-right. Two questions: (1) How does this work? (2) It would be nice (and probably more appropriate?) if a similar behaviour were bestowed on insert state C-t, and correspondingly on C-d (H-t and H-d in my configuration), such that evil-shift-right-line and ...-left-... would demote and promote headlines when point is on headlines. How might one achieve that?

1 Answer 1


To get what you want you have to either remap the keys in your init file or modify evil-org. You probably will want to do the former. And I think org-metaleft and org-metaright will do what you want (i.e. either promote or demote header or list item). You just need to set the keys for insert mode. So something like

(evil-define-key 'insert 'org-mode-map
  "C-t" 'org-metaleft
  "C-d" 'org-metaright)

should do the trick.

  • This looks like it would shift headlines instead of de- and promoting them.
    – Toothrot
    Nov 22, 2016 at 14:48
  • thanks - I think I misunderstood the OPs question. Have modified accordingly.
    – mclear
    Nov 22, 2016 at 20:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.