[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:
parent
126461d4ad
commit
d1c2a4446a
1 changed files with 4 additions and 0 deletions
|
@ -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'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue