I use split-frame (
split-window-right in setup) for most things but would like Emacs to open some file types (specifically PDF files) in a new frame when using
Other files (for example
.org files) should be opened in split-frame as before. I use pdf-tools for viewing PDFs.
Any suggestions welcome.