Demand some packages that need to be loaded at start

This commit is contained in:
Adam Goldsmith 2019-08-13 15:42:18 -04:00
parent 75b82b1293
commit 89b0cf958f

View File

@ -189,7 +189,7 @@
("M-N" . org-metadown)) ("M-N" . org-metadown))
:map org-src-mode-map ("C-z" . org-src-export-to-pdf)) :map org-src-mode-map ("C-z" . org-src-export-to-pdf))
:config :config
(use-package org-tempo) ; enable org-tempo templates (use-package org-tempo :demand) ; enable org-tempo templates
;; Make windmove work in org-mode: ;; Make windmove work in org-mode:
(add-hook 'org-shiftup-final-hook 'windmove-up) (add-hook 'org-shiftup-final-hook 'windmove-up)
@ -427,7 +427,7 @@
(global-undo-tree-mode) (global-undo-tree-mode)
(setq undo-tree-enable-undo-in-region nil)) (setq undo-tree-enable-undo-in-region nil))
(use-package hydra :ensure (use-package hydra :ensure :demand
:config :config
;config is in separate file because it is really big ;config is in separate file because it is really big
(load-file "~/.emacs.d/hydra-defs.el") (load-file "~/.emacs.d/hydra-defs.el")
@ -438,7 +438,7 @@
("C-^" . 'hydra-smerge/body)) ("C-^" . 'hydra-smerge/body))
:bind* ("C-," . 'hydra-mc/body)) ; I like my binding, stop messing with it :bind* ("C-," . 'hydra-mc/body)) ; I like my binding, stop messing with it
(use-package multiple-cursors :ensure) (use-package multiple-cursors :ensure :demand)
(use-package expand-region :ensure (use-package expand-region :ensure
:bind ("C-=" . er/expand-region)) :bind ("C-=" . er/expand-region))