Browse Source

Add :defer t to decreate start-up time

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

46
.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
@ -493,24 +497,26 @@ https://github.com/laishulu/hl-fill-column
*** RSS *** RSS
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package elfeed (use-package elfeed
:custom :defer t
(elfeed-db-directory (concat emacs-d "/elfeed")) :custom
(elfeed-enclosure-default-dir "~/downloads/") (elfeed-db-directory (concat emacs-d "/elfeed"))
(elfeed-search-filter "@6-months-ago +unread") (elfeed-enclosure-default-dir "~/downloads/")
(elfeed-search-clipboard-type 'CLIPBOARD) (elfeed-search-filter "@6-months-ago +unread")
(elfeed-search-title-max-width 100) (elfeed-search-clipboard-type 'CLIPBOARD)
(elfeed-search-title-min-width 30) (elfeed-search-title-max-width 100)
(elfeed-search-trailing-width 55) (elfeed-search-title-min-width 30)
(elfeed-show-unique-buffers t) (elfeed-search-trailing-width 55)
(elfeed-feeds (elfeed-show-unique-buffers t)
'(("https://www.youtube.com/feeds/videos.xml?user=linustechtips" comedy reviews youtube) (elfeed-feeds
("https://www.youtube.com/feeds/videos.xml?channel_id=UC2eYFnH61tmytImy1mTYvhA" boomer linux shell youtube) '(("https://www.youtube.com/feeds/videos.xml?user=linustechtips" comedy reviews youtube)
("https://phoronix.com/rss.php" linux news reviews) ("https://www.youtube.com/feeds/videos.xml?channel_id=UC2eYFnH61tmytImy1mTYvhA" boomer linux shell youtube)
)) ("https://phoronix.com/rss.php" linux news reviews)
:hook ("https://lukesmith.xyz/rss.xml" boomer linux shell)
(elfeed-search-mode . (lambda (&rest _) (display-line-numbers-mode 0))) ))
(elfeed-show-mode . (lambda (&rest _) (display-line-numbers-mode 0)))) :hook
(elfeed-search-mode . (lambda (&rest _) (display-line-numbers-mode 0)))
(elfeed-show-mode . (lambda (&rest _) (display-line-numbers-mode 0))))
#+END_SRC #+END_SRC
* General * General

Loading…
Cancel
Save