Starting width to prevent problems with small windows

This commit is contained in:
Benson Chu 2024-04-29 11:34:59 -05:00
parent 023934e07f
commit c909cd9f6a

View file

@ -375,7 +375,7 @@ from `cfmap-major-modes' (excluding the minibuffer)."
(defun cfmap-create-window () (defun cfmap-create-window ()
;; TODO: Should be based on max arrow length of the buffer ;; TODO: Should be based on max arrow length of the buffer
(let ((width 114) (let ((width 2)
buffer-window) buffer-window)
;; The existing window becomes the cfmap ;; The existing window becomes the cfmap
(setq buffer-window (split-window-horizontally width)) (setq buffer-window (split-window-horizontally width))