Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Open new file in a new gui window or by splitting the window

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

like image 483
user108754 Avatar asked Apr 13 '13 17:04

user108754


People also ask

How do I open a new window in Emacs?

To open a new frame, select Make New Frame from the Files menu or press C-x 5 2 (for make-frame). Emacs makes a new frame containing the current buffer and puts it on top of the current frame. These lines set up sizes for the width and height of Emacs frames.

How to split window in emacs?

You can split a window horizontally or vertically by clicking C-Mouse-2 in the mode line or the scroll bar.

How do I switch buffers in Emacs?

To move between the buffers, type C-x b. Emacs shows you a default buffer name. Press Enter if that's the buffer you want, or type the first few characters of the correct buffer name and press Tab. Emacs fills in the rest of the name.

How do I close a window in Emacs?

To close the current window, type C-x 0 (zero this time, not O). To close all windows except the current one, type C-x 1.


1 Answers

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.

like image 148
Tyler Avatar answered Sep 20 '22 15:09

Tyler