Variable: treemacs-display-in-side-window
treemacs-display-in-side-window is a customizable variable defined in
treemacs-customization.el.
Value
t
Documentation
When non-nil treemacs will use a dedicated side-window.
On the one hand this will alleviate issues of unequally sized window splits when treemacs is visible (since Emacs does not quite understand that treemacs has fixed window size). On the other hand it may lead to issues with other packages like shell-pop, as making treemacs a side-window renders it un-splittable.
Source Code
;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-customization.el
(defcustom treemacs-display-in-side-window t
"When non-nil treemacs will use a dedicated side-window.
On the one hand this will alleviate issues of unequally sized window splits when
treemacs is visible (since Emacs does not quite understand that treemacs has
fixed window size). On the other hand it may lead to issues with other packages
like shell-pop, as making treemacs a side-window renders it un-splittable."
:type 'boolean
:group 'treemacs-window)