diff options
| author | Gene Pasquet <gene@pacerevenue.com> | 2026-01-12 12:09:59 +0000 |
|---|---|---|
| committer | Gene Pasquet <gene@pacerevenue.com> | 2026-01-12 12:09:59 +0000 |
| commit | df4d7680deaa57927ea218abc652c150be464665 (patch) | |
| tree | 5785a51d8305e345656bdec7fba1af316bf19ebb /substrate.el | |
| parent | 3f2508b92a38d8482b7b64939d744e498cdb9da3 (diff) | |
Diffstat (limited to 'substrate.el')
| -rw-r--r-- | substrate.el | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/substrate.el b/substrate.el index 092359c..df38099 100644 --- a/substrate.el +++ b/substrate.el @@ -6,7 +6,6 @@ ;;; (,,,___,,,) ▐ ▐▝▘▌ ▙▟ ▐ ▝▌ ▝▌▐ ▌▐ ▌ ▝▌ ▐ ▐ ▝▖ ▙▟ ▐ ▐ ;;; ;;; ) ( ▐▄▄▖▐ ▌▐ ▌ ▚▄▘▝▄▟▘ ▝▄▟▘▝▄▄▘▐▄▄▘▝▄▟▘ ▐ ▐ ▘▐ ▌ ▐ ▐▄▄▖ ;;; ;;; (___) ;;; -;;; ;;; ;;; init.el ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; Guardrail @@ -169,19 +168,17 @@ If the new path's directories does not exist, create them." ;; which-key: shows a popup of available keybindings when typing a long key ;; sequence (e.g. C-x ...) - - (use-package which-key - :if substrate-enable-which-key - :config + (when substrate-enable-which-key + (straight-use-package 'which-key) + (require 'which-key) (which-key-mode)) - (use-package evil - :if substrate-enable-evil - :init + ;; Evil mode for Vi-like editing + (when substrate-enable-evil + (straight-use-package 'evil) + (require 'evil) (setq evil-respect-visual-line-mode t) (setq evil-undo-system 'undo-redo) - - :config (evil-mode) ;; If you use Magit, start editing in insert state @@ -283,9 +280,10 @@ If the new path's directories does not exist, create them." ;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - (use-package evangelion-theme - :if substrate-configure-theme - :config (substrate-set-theme 'evangelion)) + ;; Install and configure theme using straight.el directly + (when substrate-configure-theme + (straight-use-package 'challenger-deep-theme) + (substrate-set-theme 'challenger-deep)) ;;; Relegate automatic custom variables to their own file. |
