Browse Source

Add :defer t to decreate start-up time

master
Riyyi 4 years ago
parent
commit
8ffbc1c1b5
  1. 10
      .emacs.d/config.org

10
.emacs.d/config.org

@ -210,6 +210,7 @@ Install and configure packages.
:config (evil-collection-init)) :config (evil-collection-init))
(use-package evil-nerd-commenter (use-package evil-nerd-commenter
:defer t
:after evil) :after evil)
#+END_SRC #+END_SRC
@ -285,14 +286,17 @@ Project manager.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package htmlize (use-package htmlize
:defer t
:custom (org-export-html-postamble nil)) :custom (org-export-html-postamble nil))
;org-export-html-postamble-format @ToDo ;org-export-html-postamble-format @ToDo
;; Table of contents ;; Table of contents
(use-package toc-org) (use-package toc-org
:defer t)
;; Github flavored Markdown exporter ;; Github flavored Markdown exporter
(use-package ox-gfm) (use-package ox-gfm
:defer t)
#+END_SRC #+END_SRC
*** Completion *** Completion
@ -494,6 +498,7 @@ https://github.com/laishulu/hl-fill-column
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package elfeed (use-package elfeed
:defer t
:custom :custom
(elfeed-db-directory (concat emacs-d "/elfeed")) (elfeed-db-directory (concat emacs-d "/elfeed"))
(elfeed-enclosure-default-dir "~/downloads/") (elfeed-enclosure-default-dir "~/downloads/")
@ -507,6 +512,7 @@ https://github.com/laishulu/hl-fill-column
'(("https://www.youtube.com/feeds/videos.xml?user=linustechtips" comedy reviews youtube) '(("https://www.youtube.com/feeds/videos.xml?user=linustechtips" comedy reviews youtube)
("https://www.youtube.com/feeds/videos.xml?channel_id=UC2eYFnH61tmytImy1mTYvhA" boomer linux shell youtube) ("https://www.youtube.com/feeds/videos.xml?channel_id=UC2eYFnH61tmytImy1mTYvhA" boomer linux shell youtube)
("https://phoronix.com/rss.php" linux news reviews) ("https://phoronix.com/rss.php" linux news reviews)
("https://lukesmith.xyz/rss.xml" boomer linux shell)
)) ))
:hook :hook
(elfeed-search-mode . (lambda (&rest _) (display-line-numbers-mode 0))) (elfeed-search-mode . (lambda (&rest _) (display-line-numbers-mode 0)))

Loading…
Cancel
Save