1

In org-mode, I open a code snippet with C-' (org-edit-special) to edit it in a separate split. By default, it opens it in a horizontal split.

Is there a way to open a code snippet from org-mode with C-' in a vertical split?

2

1 Answer 1

1

Yes, the genuine Emacs' customization approach allows to do so:

C-h v ;; - to look at variable value by its name

org-src-window-setup ;; <---variable name

After that it is possible to choose any option from a broad list. Seems like other-window is what you're looking for.

1
  • I think split-window-below is the value that matches OPs request
    – Tyler
    Mar 8 at 18:14

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.