Setting Emacs to Split Buffers Side-by-Side

后端 未结 6 698
情书的邮戳
情书的邮戳 2020-11-28 19:53

A lot of Emacs functions automatically split the screen. However, they all do so such that the windows are one on top of the other. Is there any way to make them split such

6条回答
  •  伪装坚强ぢ
    2020-11-28 20:33

    I use multiple frames (OSX windows) in emacs regularly for different projects. Here's how I setup a few frames initially split to a left and right window.

      (defun make-maximized-split-frame (name)
        (let (( f (make-frame (list (cons 'name  name))) ))
          (maximize-frame f)
          (split-window (frame-root-window f) nil t)
          ))
    
      (make-maximized-split-frame "DocRaptor")
      (make-maximized-split-frame "Gauges")
      (make-maximized-split-frame "Instrumental")
    

提交回复
热议问题