Put inferior-python-mode in side-window at bottom of frame

This commit is contained in:
Evie Litherland-Smith 2025-03-03 13:12:30 +00:00
parent 2d716faf2a
commit d71f6823fb

View file

@ -1224,6 +1224,14 @@
(python-indent-guess-indent-offset nil) (python-indent-guess-indent-offset nil)
(python-indent-offset 4) (python-indent-offset 4)
(python-indent-def-block-scale 1) (python-indent-def-block-scale 1)
:init
(add-to-list 'display-buffer-alist
'((major-mode . inferior-python-mode)
(display-buffer-in-side-window)
(side . bottom)
(slot . 0)
(window-height . 0.3)
(window-parameters . ((no-delete-other-windows . t)))))
:config :config
(setq python-ts-mode-hook python-mode-hook)) (setq python-ts-mode-hook python-mode-hook))