Norman
Norman

Reputation: 21

emacs split window side by side independently

My question is whether it's possible (simply!) to split a buffer window into two side by side frames which are independent, so that for example in org mode expanding a headline in one frame does not affect that headline in the other frame? C-x 2 does this for a top/bottom split but C-x 3 splits the screen but the buffers are not independent. On my laptop two side by side frames would be much easier to work with than a top/bottom split.

Upvotes: 2

Views: 1157

Answers (1)

phils
phils

Reputation: 73246

C-x4c calls clone-indirect-buffer-other-window which I believe is the closest thing to what you're asking for.

That command doesn't enforce any particular window split, but Emacs may do what you want by default. If not, then it will do what you want if the frame is already split appropriately, such that the 'other' window is where you want the indirect clone to be.

i.e.:

  • C-x3
  • C-x4c

See the manual for more information:

C-hig (emacs)Indirect Buffers

Upvotes: 6

Related Questions