I have two files and I have set it up so that i can refile any of the items from refile.org and into todo.org.
File 1- refile.org
* TODO Task 1
* TODO Task 2
* TODO Task 3
* TODO Task 4
etc
File 2- todo.org
* TODO Task 5
** TODO Task 1
The only thing is that I can only refile it as a subtree of Task 5 and not as its own tree. Am i missing something or is there a way to do this so that i can get:
File 1- refile.org
* TODO Task 1
* TODO Task 2
* TODO Task 3
* TODO Task 4
etc
File 2- todo.org
* TODO Task 5
* TODO Task 1
Thanks
If you specify org-refile-use-outline-path
to be 'file
it is possible to just use the path of the file as the refile target and the node will be entered at the top-level.
(setq org-refile-use-outline-path 'file)
(setq org-refile-targets '((org-agenda-files :level . 1)))
You can see the full documentation of org-refile-use-outline-path
with C-h v org-refile-use-outline-path RET
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With