Add more defvar to customize minimal-emacs.d
This commit is contained in:
25
init.el
25
init.el
@@ -88,6 +88,13 @@
|
|||||||
(setq-default display-line-numbers-width 3)
|
(setq-default display-line-numbers-width 3)
|
||||||
(setq-default display-line-numbers-widen t)
|
(setq-default display-line-numbers-widen t)
|
||||||
|
|
||||||
|
(setq comint-prompt-read-only t)
|
||||||
|
(setq comint-buffer-maximum-size 2048)
|
||||||
|
|
||||||
|
(setq compilation-always-kill t
|
||||||
|
compilation-ask-about-save nil
|
||||||
|
compilation-scroll-output 'first-error)
|
||||||
|
|
||||||
;;; Files
|
;;; Files
|
||||||
|
|
||||||
;; Disable the warning "X and Y are the same file". Ignoring this warning is
|
;; Disable the warning "X and Y are the same file". Ignoring this warning is
|
||||||
@@ -279,9 +286,8 @@
|
|||||||
;; Disable wrapping by default due to its performance cost.
|
;; Disable wrapping by default due to its performance cost.
|
||||||
(setq-default truncate-lines t)
|
(setq-default truncate-lines t)
|
||||||
|
|
||||||
;; If enabled and `truncate-lines' is disabled, soft wrapping will not
|
;; If enabled and `truncate-lines' is disabled, soft wrapping will not occur
|
||||||
;; occur when the window is narrower than
|
;; when the window is narrower than `truncate-partial-width-windows' characters.
|
||||||
;; `truncate-partial-width-windows' characters.
|
|
||||||
(setq truncate-partial-width-windows nil)
|
(setq truncate-partial-width-windows nil)
|
||||||
|
|
||||||
;; Prefer spaces over tabs. Spaces offer a more consistent default compared to
|
;; Prefer spaces over tabs. Spaces offer a more consistent default compared to
|
||||||
@@ -291,10 +297,6 @@
|
|||||||
|
|
||||||
(setq-default tab-always-indent t)
|
(setq-default tab-always-indent t)
|
||||||
|
|
||||||
;; An archaic default in the age of widescreen 4k displays? I disagree. We still
|
|
||||||
;; frequently split our terminals and editor frames, or have them side-by-side,
|
|
||||||
;; using up more of that newly available horizontal real-estate.
|
|
||||||
|
|
||||||
;; We often split terminals and editor windows or place them side-by-side,
|
;; We often split terminals and editor windows or place them side-by-side,
|
||||||
;; making use of the additional horizontal space.
|
;; making use of the additional horizontal space.
|
||||||
(setq-default fill-column 80)
|
(setq-default fill-column 80)
|
||||||
@@ -310,15 +312,6 @@
|
|||||||
;; Remove duplicates from the kill ring to reduce clutter
|
;; Remove duplicates from the kill ring to reduce clutter
|
||||||
(setq kill-do-not-save-duplicates t)
|
(setq kill-do-not-save-duplicates t)
|
||||||
|
|
||||||
;;; ansi-color
|
|
||||||
(setq comint-prompt-read-only t)
|
|
||||||
(setq comint-buffer-maximum-size 2048)
|
|
||||||
|
|
||||||
;;; compile
|
|
||||||
(setq compilation-always-kill t
|
|
||||||
compilation-ask-about-save nil
|
|
||||||
compilation-scroll-output 'first-error)
|
|
||||||
|
|
||||||
;;; Load post-init.el
|
;;; Load post-init.el
|
||||||
(minimal-emacs-load-user-init "post-init.el")
|
(minimal-emacs-load-user-init "post-init.el")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user