New incremental lazy-loading at startup
This is for loading large packages (like org and magit) quietly in the background during idle time. It is already set up to incrementally load org and magit. This is still experimental, however. the idle timers may need to be tweaked.
This commit is contained in:
parent
ed0857b988
commit
b7be38b2a9
3 changed files with 71 additions and 0 deletions
|
@ -13,6 +13,12 @@
|
|||
(if (featurep! +present) (load! "+present"))
|
||||
;; TODO (if (featurep! +publish) (load! "+publish"))
|
||||
|
||||
(doom-load-packages-incrementally
|
||||
'(calendar find-func format-spec org-macs org-compat
|
||||
org-faces org-entities org-list org-pcomplete org-src
|
||||
org-footnote org-macro ob org org-clock org-agenda
|
||||
org-capture))
|
||||
|
||||
|
||||
;;
|
||||
;; Packages
|
||||
|
|
|
@ -18,6 +18,8 @@ available.")
|
|||
:commands magit-file-delete
|
||||
:init
|
||||
(setq magit-auto-revert-mode nil) ; we already use `global-auto-revert-mode'
|
||||
(doom-load-packages-incrementally
|
||||
'(dash f s with-editor git-commit package magit))
|
||||
:config
|
||||
(setq magit-completing-read-function
|
||||
(if (featurep! :completion ivy)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue