]> git.earman.xyz Git - emacsinit.git/commitdiff
Add early-init.el to the dummy init file
authorrearman <rearman@r717.net>
Thu, 16 Mar 2023 13:52:07 +0000 (09:52 -0400)
committerrearman <rearman@r717.net>
Thu, 16 Mar 2023 13:52:07 +0000 (09:52 -0400)
init.el
init.org

diff --git a/init.el b/init.el
index b21ef3af3461516bac69433722028d7c33c14ef0..af7613b3282e6697accea14294df5a2ee0eeb7b9 100644 (file)
--- a/init.el
+++ b/init.el
@@ -5,5 +5,6 @@
 (find-file (concat user-emacs-directory "init.org"))
 ;; Tangle it...
 (org-babel-tangle)
-;; Load it...
+;; Load it.
+(load-file (concat user-emacs-directory "early-init.el"))
 (load-file (concat user-emacs-directory "init.el"))
index 3ba326303a78995973c0a777f7a9838069ed6df3..301be9ce5a535c7d7adf3057936037d2fa201f4e 100644 (file)
--- a/init.org
+++ b/init.org
@@ -26,7 +26,8 @@ This is the repo's =init.el= file, which bootstraps the real =init.el=.
 (find-file (concat user-emacs-directory "init.org"))
 ;; Tangle it...
 (org-babel-tangle)
-;; Load it...
+;; Load it.
+(load-file (concat user-emacs-directory "early-init.el"))
 (load-file (concat user-emacs-directory "init.el"))
 #+END_SRC
 
@@ -188,10 +189,12 @@ This comes with base corfu, but is configured separately.
   :after corfu
   :hook (corfu-mode . corfu-popupinfo-mode)
   :custom
-  (corfu-popupinfo-delay '(2 . 0.01))
+  (corfu-popupinfo-delay '(nil . 0.01))
   (corfu-popupinfo-hide nil)
   :config
-  (corfu-popupinfo-mode))
+  (corfu-popupinfo-mode)
+  :bind
+  ((:map corfu-map ("C-h" . corfu-popupinfo-toggle))))
 #+END_SRC
 
 *** expand-region
@@ -461,7 +464,8 @@ Just some basic stuff.  I don't think I've seen too many configs that don't have
 
 *** Bindings
 
-The usual bindings, aside from my special case of using =C-‘= in place of =C-u=.  I have unbound =C-‘= in org-mode.
+The usual bindings, aside from my special case of using C-' in place of =
+C-u.  I have unbound C-' in org-mode.
 
 #+BEGIN_SRC emacs-lisp
 (global-set-key (kbd "C-c l") 'org-store-link)
@@ -539,7 +543,7 @@ Intended for use as an after-save-hook."
    'file)
   (save-buffer))
 
-(setq safe-local-variable-values '((after-save-hook org-auto-archive))
+(setq safe-local-variable-values '((after-save-hook org-auto-archive)))
 #+END_SRC
 
 *** Tangling