1

In org-mode I frequently want to move one (top-level) tree to another file. I can do this by first calling org-cut-special (C-c C-x C-w) in the source file, then switching to the target file and calling org-yank (C-y) there. But this is rather tedious.

Is there a simpler way to do it?

1
1

Answering my own question here. I suspected that org-refile was the way to go (thanks @lawlist), but I couldn't get it to refile a tree at the topmost (i.e., headline) level.

I turns out that I need to do this:

(setq org-refile-use-outline-path 'file)

That allows me to refile at the top level.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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