mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
[UI] Set prompt to readonly in comint buffers
Comint buffers like *Python*, *shell*, etc. will benifit from this change as the prompt wont be deletable.
This commit is contained in:
@ -391,6 +391,10 @@ windows, switch to `doom-fallback-buffer'. Otherwise, delegate to original
|
|||||||
(setq ansi-color-for-comint-mode t)
|
(setq ansi-color-for-comint-mode t)
|
||||||
|
|
||||||
|
|
||||||
|
(after! comint
|
||||||
|
(setq comint-prompt-read-only t))
|
||||||
|
|
||||||
|
|
||||||
(after! compile
|
(after! compile
|
||||||
(setq compilation-always-kill t ; kill compilation process before starting another
|
(setq compilation-always-kill t ; kill compilation process before starting another
|
||||||
compilation-ask-about-save nil ; save all buffers on `compile'
|
compilation-ask-about-save nil ; save all buffers on `compile'
|
||||||
|
Reference in New Issue
Block a user