[Init] Defer some more packages
This commit is contained in:
parent
db52cf12ab
commit
96bb27b53a
13
init.el
13
init.el
@ -450,6 +450,7 @@ _h_ _l_ _o_k _y_ank
|
|||||||
:config (setq appt-display-mode-line nil))
|
:config (setq appt-display-mode-line nil))
|
||||||
|
|
||||||
(use-package ediff
|
(use-package ediff
|
||||||
|
:defer t
|
||||||
:config (progn
|
:config (progn
|
||||||
(setq ediff-diff-options "-w"
|
(setq ediff-diff-options "-w"
|
||||||
ediff-window-setup-function 'ediff-setup-windows-plain
|
ediff-window-setup-function 'ediff-setup-windows-plain
|
||||||
@ -469,6 +470,7 @@ _h_ _l_ _o_k _y_ank
|
|||||||
ispell-really-hunspell t)))
|
ispell-really-hunspell t)))
|
||||||
|
|
||||||
(use-package mailcap
|
(use-package mailcap
|
||||||
|
:defer t
|
||||||
:config (progn
|
:config (progn
|
||||||
;;Remove doc-view so pdf will open with ocular
|
;;Remove doc-view so pdf will open with ocular
|
||||||
(setcdr
|
(setcdr
|
||||||
@ -656,6 +658,7 @@ _h_ _l_ _o_k _y_ank
|
|||||||
;; * Crypto
|
;; * Crypto
|
||||||
|
|
||||||
(use-package nsm
|
(use-package nsm
|
||||||
|
:defer t
|
||||||
:config (progn (setq network-security-level 'medium
|
:config (progn (setq network-security-level 'medium
|
||||||
nsm-save-host-names t
|
nsm-save-host-names t
|
||||||
nsm-settings-file (expand-file-name
|
nsm-settings-file (expand-file-name
|
||||||
@ -663,6 +666,7 @@ _h_ _l_ _o_k _y_ank
|
|||||||
emacs-d))))
|
emacs-d))))
|
||||||
|
|
||||||
(use-package gnutls
|
(use-package gnutls
|
||||||
|
:defer t
|
||||||
:config (progn
|
:config (progn
|
||||||
(setq gnutls-log-level 0
|
(setq gnutls-log-level 0
|
||||||
gnutls-min-prime-bits 1024
|
gnutls-min-prime-bits 1024
|
||||||
@ -674,6 +678,7 @@ _h_ _l_ _o_k _y_ank
|
|||||||
(add-to-list 'gnutls-trustfiles cert-file))))
|
(add-to-list 'gnutls-trustfiles cert-file))))
|
||||||
|
|
||||||
(use-package epg
|
(use-package epg
|
||||||
|
:defer t
|
||||||
:config (progn
|
:config (progn
|
||||||
(setq epg-debug t)))
|
(setq epg-debug t)))
|
||||||
|
|
||||||
@ -681,17 +686,20 @@ _h_ _l_ _o_k _y_ank
|
|||||||
;; * Appearance
|
;; * Appearance
|
||||||
|
|
||||||
(use-package solarized-theme
|
(use-package solarized-theme
|
||||||
|
:defer t
|
||||||
:init (setq solarized-use-less-bold t
|
:init (setq solarized-use-less-bold t
|
||||||
solarized-emphasize-indicators t
|
solarized-emphasize-indicators t
|
||||||
solarized-use-variable-pitch nil))
|
solarized-use-variable-pitch nil))
|
||||||
|
|
||||||
(use-package smart-mode-line
|
(use-package smart-mode-line
|
||||||
|
:commands (sml/setup)
|
||||||
:init (setq sml/use-projectile-p t))
|
:init (setq sml/use-projectile-p t))
|
||||||
|
|
||||||
|
|
||||||
;; * Dired
|
;; * Dired
|
||||||
|
|
||||||
(use-package dired
|
(use-package dired
|
||||||
|
:defer t
|
||||||
:config (progn
|
:config (progn
|
||||||
(setq dired-dwim-target t)
|
(setq dired-dwim-target t)
|
||||||
(put 'dired-find-alternate-file 'disabled nil)
|
(put 'dired-find-alternate-file 'disabled nil)
|
||||||
@ -861,7 +869,6 @@ _h_ _l_ _o_k _y_ank
|
|||||||
|
|
||||||
(use-package ace-window
|
(use-package ace-window
|
||||||
:commands (ace-window ace-window-display-mode)
|
:commands (ace-window ace-window-display-mode)
|
||||||
:demand t
|
|
||||||
:config (setq aw-keys '(?a ?s ?d ?f ?g ?h ?j ?k ?l)
|
:config (setq aw-keys '(?a ?s ?d ?f ?g ?h ?j ?k ?l)
|
||||||
aw-background nil
|
aw-background nil
|
||||||
aw-leading-char-style 'char
|
aw-leading-char-style 'char
|
||||||
@ -907,6 +914,7 @@ _h_ _l_ _o_k _y_ank
|
|||||||
;; * Shells and such
|
;; * Shells and such
|
||||||
|
|
||||||
(use-package comint
|
(use-package comint
|
||||||
|
:defer t
|
||||||
:config (progn
|
:config (progn
|
||||||
(setq comint-scroll-to-bottom-on-input t)
|
(setq comint-scroll-to-bottom-on-input t)
|
||||||
(setq comint-scroll-to-bottom-on-output nil)
|
(setq comint-scroll-to-bottom-on-output nil)
|
||||||
@ -958,6 +966,7 @@ _h_ _l_ _o_k _y_ank
|
|||||||
(add-hook 'compilation-filter-hook #'endless/colorize-compilation)))
|
(add-hook 'compilation-filter-hook #'endless/colorize-compilation)))
|
||||||
|
|
||||||
(use-package shell
|
(use-package shell
|
||||||
|
:defer t
|
||||||
:config (progn
|
:config (progn
|
||||||
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
|
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
|
||||||
(add-hook 'comint-output-filter-functions 'comint-strip-ctrl-m)))
|
(add-hook 'comint-output-filter-functions 'comint-strip-ctrl-m)))
|
||||||
@ -987,6 +996,7 @@ _h_ _l_ _o_k _y_ank
|
|||||||
;; Lisp Dialects
|
;; Lisp Dialects
|
||||||
|
|
||||||
(use-package elisp-mode
|
(use-package elisp-mode
|
||||||
|
:defer t
|
||||||
:config (progn (add-hook 'emacs-lisp-mode-hook #'lispy-mode)
|
:config (progn (add-hook 'emacs-lisp-mode-hook #'lispy-mode)
|
||||||
|
|
||||||
(defun db/add-use-package-to-imenu ()
|
(defun db/add-use-package-to-imenu ()
|
||||||
@ -1263,6 +1273,7 @@ _h_ _l_ _o_k _y_ank
|
|||||||
(pp-eval-last-sexp prefix)))))
|
(pp-eval-last-sexp prefix)))))
|
||||||
|
|
||||||
(use-package python
|
(use-package python
|
||||||
|
:defer t
|
||||||
:config (progn
|
:config (progn
|
||||||
(setq python-indent-offset 4
|
(setq python-indent-offset 4
|
||||||
python-shell-interpreter "/usr/bin/python")
|
python-shell-interpreter "/usr/bin/python")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user