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:
Henrik Lissner 2018-09-18 11:42:35 -04:00
parent ed0857b988
commit b7be38b2a9
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 71 additions and 0 deletions

View file

@ -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)