diff options
| -rw-r--r-- | .emacs | 39 |
1 files changed, 20 insertions, 19 deletions
@@ -27,25 +27,6 @@ (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) -;;; Theming. - -(when (>= emacs-major-version 28) - (setq modus-themes-bold-constructs t - modus-themes-deuteranopia t - modus-themes-diffs 'bg-only - modus-themes-headings '((1 . (variable-pitch 1.2)) - (2 . (variable-pitch 1.15)) - (3 . (variable-pitch 1.1)) - (4 . (variable-pitch 1.05)) - (t . (variable-pitch))) - modus-themes-italic-constructs t - modus-themes-mixed-fonts t - modus-themes-org-blocks 'gray-background - modus-themes-prompts '(background) - modus-themes-region '(bg-only) - modus-themes-variable-pitch-ui t) - (load-theme 'modus-vivendi)) - ;;; Key bindings. ;; C-h is a special snowflake in many situations; this is the most @@ -657,6 +638,26 @@ (defalias 'my/setopt 'setopt) (defalias 'my/setopt 'customize-set-variable)) +(use-package emacs + :when (>= emacs-major-version 28) + :init + (setq modus-themes-bold-constructs t + modus-themes-deuteranopia t + modus-themes-diffs 'bg-only + modus-themes-headings '((1 . (variable-pitch 1.2)) + (2 . (variable-pitch 1.15)) + (3 . (variable-pitch 1.1)) + (4 . (variable-pitch 1.05)) + (t . (variable-pitch))) + modus-themes-italic-constructs t + modus-themes-mixed-fonts t + modus-themes-org-blocks 'gray-background + modus-themes-prompts '(background) + modus-themes-region '(bg-only) + modus-themes-variable-pitch-ui t) + :config + (load-theme 'modus-vivendi)) + (use-package ediff :custom (ediff-merge-split-window-function 'split-window-vertically) |
