aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshton Wiersdorf <mail@wiersdorf.dev>2023-09-04 15:27:35 -0600
committerAshton Wiersdorf <mail@wiersdorf.dev>2023-09-04 15:27:35 -0600
commitb1927ce51dd14a2fee552b074d4221f4b4f09e8c (patch)
tree1d872dcae2159222890a3dee7239fac0df9185f6
parentea526ab888fe8c2378ddf88fcfb43770ac033212 (diff)
Improve loading of avy and embark
-rw-r--r--init.el10
-rw-r--r--mixins/base.el2
-rw-r--r--mixins/researcher.el2
3 files changed, 9 insertions, 5 deletions
diff --git a/init.el b/init.el
index cb03e46..22eabbd 100644
--- a/init.el
+++ b/init.el
@@ -189,21 +189,24 @@ If the new path's directories does not exist, create them."
:config
(load-theme 'modus-vivendi)) ; for light theme, use modus-operandi
-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Optional mixins
;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Uncomment these lines or copy from the mixin/ files as you see fit
+;; Uncomment the (load-file …) lines or copy from the mixin/ files as desired
;; UI/UX enhancements mostly focused on minibuffer and autocompletion interfaces
+;; These ones are *strongly* recommended!
;(load-file (expand-file-name "mixins/base.el" user-emacs-directory))
;; Packages for software development
;(load-file (expand-file-name "mixins/dev.el" user-emacs-directory))
+;; Vim-bindings in Emacs (evil-mode configuration)
+;(load-file (expand-file-name "mixins/vim-like.el" user-emacs-directory))
+
;; Org-mode configuration
;; WARNING: need to customize things inside the mixin file before use! See
;; the file mixins/org-intro.txt for help.
@@ -217,9 +220,6 @@ If the new path's directories does not exist, create them."
;; Tools for academic researchers
;(load-file (expand-file-name "mixins/researcher.el" user-emacs-directory))
-;; Vim-bindings in Emacs (evil-mode configuration)
-;(load-file (expand-file-name "mixins/vim-like.el" user-emacs-directory))
-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Built-in customization framework
diff --git a/mixins/base.el b/mixins/base.el
index 08eb6da..dbea499 100644
--- a/mixins/base.el
+++ b/mixins/base.el
@@ -19,6 +19,7 @@
(use-package avy
:ensure t
+ :demand t
:bind (("C-c j" . avy-goto-line)
("s-j" . avy-goto-char-timer)))
@@ -42,6 +43,7 @@
(use-package embark
:ensure t
+ :demand t
:after avy
:bind (("C-c a" . embark-act)) ; bind this to an easy key to hit
:init
diff --git a/mixins/researcher.el b/mixins/researcher.el
index 7f1b5d5..6d8bae8 100644
--- a/mixins/researcher.el
+++ b/mixins/researcher.el
@@ -92,3 +92,5 @@
;;; Note Taking: Denote
;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+;; TODO