Reduce needless loads at start with use-package

This commit is contained in:
MitchMarq42 2022-06-22 06:41:28 -08:00
parent 049661528a
commit 5a9930a1ca

View File

@ -53,10 +53,10 @@
(use-package evil-commentary
:diminish 'evil-commentary-mode
:config (evil-commentary-mode)
:after evil)
:hook (prog-mode . evil-commentary-mode))
(use-package evil-surround
:diminish 'global-evil-surround-mode
:after evil
:hook (prog-mode . evil-surround-mode)
:config (global-evil-surround-mode 1))
(use-package evil-terminal-cursor-changer
:after evil
@ -483,11 +483,13 @@
(use-package popon
:straight
(:type git
:repo "https://codeberg.org/akib/emacs-popon"))
:repo "https://codeberg.org/akib/emacs-popon")
:if (not (display-graphic-p)))
(use-package corfu-terminal
:straight
(:type git
:repo "https://codeberg.org/akib/emacs-corfu-terminal")
:after popon
:init (unless
(display-graphic-p)
(corfu-terminal-mode +1)))