Questions tagged [window-splitting]
is for splitting an Emacs window into two. Multiple windows can display different buffers, or different parts of one buffer. Emacs has several default key bindings for splitting windows.
165 questions
0
votes
1
answer
43
views
Restrict window split with "other" commands only to two windows
On a bigger monitor with higher resolution, the window split with the "other" functions keeps splitting the windows into 3, 4 windows. Is there a simple way to set the limit for the splits ...
1
vote
1
answer
57
views
Child frame dedication
I want to work with child frames. Do child frames support dedication, the property of dedicated frames?
Emacs supports window dedication, where a window is locked to a particular buffer, preventing ...
0
votes
2
answers
72
views
Emacs refusing to close windows
No matter what I try, no matter what commands, I cannot close windows, it says something like:
Window #<window 4 on item.rs> has same side left as major side window #<window 7> but its ...
6
votes
2
answers
225
views
How can I close all other windows on the same side of a vertical split where the current window is?
I always work with Emacs in full screen mode and a vertical split down the middle, with windows on the left and right sides. How could I write an elisp command that would close all other windows on ...
2
votes
1
answer
90
views
Prevent overly window (mis-)management
I have EMACS window normally split in two panes (C-x 3), left is for editing, right is for command line for example. I edit .po file in the left pane: I select an entry, hit ENTER and subedit buffer ...
0
votes
1
answer
128
views
display-buffer-alist does not seem to work
The aim is to display a buffer named *navigator* in a side window at the bottom.
I have following code.
;; the function toggle-navigator is in another directory being imported as a package.
;; it is a ...
1
vote
1
answer
117
views
How to set one emacs window to be unsplitable?
I like to create a small ansi-term window at the bottom of my emacs frame, so if I'm editing two files "A" and "B", my emacs frame would look like this:
+------+------+
| | ...
0
votes
0
answers
120
views
Split horizontally after installing treemacs
I have installed treemacs package and I have enabled it in init.el file to open the treemacs on start-up. However, this also splits my window horizontally as in the picture below. I do not want the ...
3
votes
1
answer
121
views
Permanent two-horizontal-windows configuration
I want my emacs frame to be permanently split into two (or sometimes 3 - with a different monitor - but let's talk two for now) columns of windows.
E.g., C-x 0 and C-x 1 may only affect the windows in ...
0
votes
1
answer
341
views
How to open a eshell buffer in a different window in doom emacs?
I want to open an eshell buffer in right side of the current window in the same frame.
0
votes
0
answers
175
views
New windows open below (horizontal split) by default
Before, I used to have that windows would open on the right of my current window for things like M-x man and M-x shell. Now I have that they open below. All I've done is uninstall and reinstall my ...
1
vote
2
answers
231
views
How to change split-window-below to split-window-right?
I am using AucTeX with GNU Emacs 30.0.50. It has a shortcut C-c C-l for viewing the processing of the TeX file. It seems to be using split-window-below command for opening the new buffer. Is there any ...
1
vote
1
answer
145
views
What does "split-window: Window #<window 3 on *scratch*> too small for splitting" mean?
Context: GNU Emacs 29.0.60 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars) of 2023-03-30, Development version 4508a024e818 on emacs-29 branch; build date 2023-03-30. ...
5
votes
0
answers
413
views
Help: delete-other-windows only working from the original window
Overview
I'm having trouble understanding from my current config why C-x 1 (i.e., M-x delete-other-windows) does not work when executed from a window in a project that was created as a result of ...
1
vote
1
answer
426
views
How do I prevent switch-to-buffer-other-window from creating an unwanted new window?
I am seeing confusing behavior when using switch-to-buffer-other-window.
When there is only a single window, and I run these two commands:
M-x split-window-right
M-x other-window
M-x eval-expression &...