A
(use-package org
:ensure org-plus-contrib
:config
(setq org-file-list (directory-files-recursively org-mode-directory "\\.org$"))
:custom
(org-ellipsis "⤵️")
(org-refile-use-outline-path 'file)
(org-directory org-mode-directory)
(org-refile-targets org-file-list)
(org-agenda-files '((nil :maxlevel . 3)
(org-file-list :maxlevel . 3)))
(org-outline-path-complete-in-steps nil)
(org-hide-leading-stars t))
по идее я получаю тут список всех орг файлов, в которые потом могу спокойно делать org-refile. Но блин C-c C-w дает мне вот это
org-refile-get-location: Wrong type argument: listp, "blah:/dev.org"
Все файлы есть на месте, решение подсмотрел вот тут
https://stackoverflow.com/questions/22200312/refile-from-one-file-to-other