I would like to be able to open an org tree in an indirect buffer inside a specific window. For example, I open an org file in one window, then two new windows with split-window-right / split-window-right.

If I navigate to, say, the leftmost window, scroll to an org tree and call org-tree-to-indirect-buffer I get the org tree opened in one of the other two windows, seemingly arbitrarily. I want to control in which window the indirect buffer opens.

One way I can think to achieve what I want is to have a function that accepts a numeric window prefix argument which would open the resulting indirect buffer in a specific window.

I am using spacemacs.


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.

Browse other questions tagged or ask your own question.