[Emacs] More deferred loading stuff

This commit is contained in:
Ivan Malison 2017-08-26 14:13:35 -07:00
parent b51676c0f6
commit 4608a21836
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -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-inhibit-window-quit-on-same-windows t)
(setq shackle-default-rule '(:same t)))) (setq shackle-default-rule '(:same t))))
#+END_SRC #+END_SRC
** beacon ** beacon
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package beacon (use-package beacon
@ -1689,8 +1688,8 @@ bind-key and global-set-key forms.
I use helm for almost all emacs completion I use helm for almost all emacs completion
#+BEGIN_SRC emacs-lisp -n -r #+BEGIN_SRC emacs-lisp -n -r
(use-package helm-config (use-package helm-config
:ensure helm
:defer 1 :defer 1
:ensure helm
:bind (("M-y" . helm-show-kill-ring) :bind (("M-y" . helm-show-kill-ring)
("M-x" . helm-M-x) ("M-x" . helm-M-x)
("C-x C-i" . helm-imenu) ("C-x C-i" . helm-imenu)
@ -1701,7 +1700,7 @@ I use helm for almost all emacs completion
(progn (progn
(use-package helm-org (use-package helm-org
:ensure nil :ensure nil
:defer 5 :defer 10
:config :config
(progn (progn
(setq helm-split-window-default-side 'same) (setq helm-split-window-default-side 'same)
@ -1716,7 +1715,7 @@ I use helm for almost all emacs completion
:buffer "*helm org inbuffer*")))) :buffer "*helm org inbuffer*"))))
(use-package helm-descbinds (use-package helm-descbinds
:demand t :defer 4
:config (helm-descbinds-mode 1)) :config (helm-descbinds-mode 1))
(use-package helm-ag (use-package helm-ag
@ -1731,7 +1730,7 @@ I use helm for almost all emacs completion
:config :config
(progn (progn
(setq helm-ag-always-set-extra-option nil))) (setq helm-ag-always-set-extra-option nil)))
(helm-mode 1))) (run-with-idle-timer 1 nil 'helm-mode 1)))
#+END_SRC #+END_SRC
** helm-projectile ** helm-projectile
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
@ -1834,7 +1833,7 @@ I use helm for almost all emacs completion
(ido-everywhere 1) (ido-everywhere 1)
(setq ido-enable-flex-matching t) (setq ido-enable-flex-matching t)
(use-package flx-ido (use-package flx-ido
:defer 1 :defer 5
:config :config
(progn (progn
;; disable ido faces to see flx highlights. ;; 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. 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 #+BEGIN_SRC emacs-lisp
(use-package crux (use-package crux
:defer 1 :defer 10
:bind (("C-c C-s" . crux-sudo-edit) :bind (("C-c C-s" . crux-sudo-edit)
("C-c C-r" . crux-eval-and-replace) ("C-c C-r" . crux-eval-and-replace)
("C-c o" . crux-open-with)) ("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 ** anzu
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package anzu (use-package anzu
:defer 3 :defer 10
:config :config
(progn (progn
(global-anzu-mode +1) (global-anzu-mode +1)
@ -4778,8 +4777,10 @@ Ensure all themes that I use are installed:
** page-break-lines ** page-break-lines
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package page-break-lines (use-package page-break-lines
:defer 1 :defer 5
:diminish (page-break-lines-mode) :diminish (page-break-lines-mode)
:commands page-break-lines-mode
:init
:config :config
(progn (progn
(add-to-list 'page-break-lines-modes 'prog-mode) (add-to-list 'page-break-lines-modes 'prog-mode)