From 4608a21836dc466189aff83baba1432b1aace836 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 26 Aug 2017 14:13:35 -0700 Subject: [PATCH] [Emacs] More deferred loading stuff --- dotfiles/emacs.d/README.org | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index e469a49d..4311028c 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -1431,7 +1431,6 @@ Paradox is a package.el extension. I have no use for it now that I use straight. (setq shackle-inhibit-window-quit-on-same-windows t) (setq shackle-default-rule '(:same t)))) #+END_SRC - ** beacon #+BEGIN_SRC emacs-lisp (use-package beacon @@ -1689,8 +1688,8 @@ bind-key and global-set-key forms. I use helm for almost all emacs completion #+BEGIN_SRC emacs-lisp -n -r (use-package helm-config - :ensure helm :defer 1 + :ensure helm :bind (("M-y" . helm-show-kill-ring) ("M-x" . helm-M-x) ("C-x C-i" . helm-imenu) @@ -1701,7 +1700,7 @@ I use helm for almost all emacs completion (progn (use-package helm-org :ensure nil - :defer 5 + :defer 10 :config (progn (setq helm-split-window-default-side 'same) @@ -1716,7 +1715,7 @@ I use helm for almost all emacs completion :buffer "*helm org inbuffer*")))) (use-package helm-descbinds - :demand t + :defer 4 :config (helm-descbinds-mode 1)) (use-package helm-ag @@ -1731,7 +1730,7 @@ I use helm for almost all emacs completion :config (progn (setq helm-ag-always-set-extra-option nil))) - (helm-mode 1))) + (run-with-idle-timer 1 nil 'helm-mode 1))) #+END_SRC ** helm-projectile #+BEGIN_SRC emacs-lisp @@ -1834,7 +1833,7 @@ I use helm for almost all emacs completion (ido-everywhere 1) (setq ido-enable-flex-matching t) (use-package flx-ido - :defer 1 + :defer 5 :config (progn ;; disable ido faces to see flx highlights. @@ -3987,7 +3986,7 @@ First call open the kill-ring browser, next calls move to next line." crux-reopen-as-root-mode makes it so that any file owned by root will automatically be opened as the root user. #+BEGIN_SRC emacs-lisp (use-package crux - :defer 1 + :defer 10 :bind (("C-c C-s" . crux-sudo-edit) ("C-c C-r" . crux-eval-and-replace) ("C-c o" . crux-open-with)) @@ -4065,7 +4064,7 @@ crux-reopen-as-root-mode makes it so that any file owned by root will automatica ** anzu #+BEGIN_SRC emacs-lisp (use-package anzu - :defer 3 + :defer 10 :config (progn (global-anzu-mode +1) @@ -4778,8 +4777,10 @@ Ensure all themes that I use are installed: ** page-break-lines #+BEGIN_SRC emacs-lisp (use-package page-break-lines - :defer 1 + :defer 5 :diminish (page-break-lines-mode) + :commands page-break-lines-mode + :init :config (progn (add-to-list 'page-break-lines-modes 'prog-mode)