8

How can I increase the level of headers recursively? example:

 * Top header
 ** Sub header
 *** Sub sub header

To :

** Top header
*** Sub Header
**** Sub sub header

1 Answer 1

17

Put point at the top header and try <M-S-right> (meta+shift+right arrow). This calls the command org-shiftmetaright, which moves the current heading and its subtree a level deeper.

4
  • 3
    It only work for 1 line at a time. How to do it for multi lines, like for a region? Commented May 14, 2020 at 14:56
  • 4
    If you want to move a region, use <M-right> or org-metaright, but be aware that this approach just demotes what is in the region so it may not behave as you expect if you have subtrees that extend outside the region.
    – glucas
    Commented May 14, 2020 at 15:05
  • 1
    yeah, it works once, then dismiss the region. but useful anyway Commented May 15, 2020 at 20:08
  • That's why it's called transient-mark-mode, but you can get the region highlighted again with C-x C-x. Do C-h f transient-mark-mode to learn more.
    – NickD
    Commented Jul 31, 2022 at 1:21

Your Answer

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

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