Open new file in a new gui window or by splitting the window
Asked Answered
R

1

35

How can emacs open a new file in a new gui window? And how can it be made to open by splitting a window?

Rouvin answered 13/4, 2013 at 17:3 Comment(1)
It sounds like you're asking two questions, although it's not really clear. As far as more efficiently cycling through the buffer ring, see here: #7394789Vicarial
V
54

Emacs refers to gui windows as 'frames', and the partitions with a frame are called 'windows'.

You can open a file in a new frame with C-x 5 f. You can open a file in a different window in the same frame with C-x 4 f.

Vicarial answered 13/4, 2013 at 19:49 Comment(3)
I like 'new-frame and 'other-frame to switch between frames better.Bougie
In my case C-x 4 f opens the file in the other existing window in that frame. Is there a way to open the file in a new window in the same frame. So say, I have 2 windows, I want to open the file in a third window?Appendant
C-x 2 C-x C-f or C-x 3 C-x C-f. If the combo is too long you can save it as a macro and bind it to something shorter.Vicarial

© 2022 - 2024 — McMap. All rights reserved.