Change hooks to improve (a few) startup time.
This commit is contained in:
parent
ef6bbf94f7
commit
5a2f94bc32
@ -75,7 +75,9 @@
|
|||||||
;; :diminish flycheck-mode
|
;; :diminish flycheck-mode
|
||||||
:defer t
|
:defer t
|
||||||
:straight t
|
:straight t
|
||||||
:hook (after-init . global-flycheck-mode) ; Habilitar flycheck de manera global
|
:hook (prog-mode . (lambda ()
|
||||||
|
(unless (derived-mode-p 'js-mode 'makefile-mode)
|
||||||
|
(flycheck-mode))))
|
||||||
)
|
)
|
||||||
|
|
||||||
;; Mostrar los errores de flycheck en un pop up
|
;; Mostrar los errores de flycheck en un pop up
|
||||||
@ -129,6 +131,7 @@
|
|||||||
|
|
||||||
;; Mecanografía
|
;; Mecanografía
|
||||||
(use-package speed-type
|
(use-package speed-type
|
||||||
|
:defer t
|
||||||
:straight t
|
:straight t
|
||||||
:diminish
|
:diminish
|
||||||
:config
|
:config
|
||||||
@ -143,14 +146,14 @@
|
|||||||
:bind (("C-<tab>" . origami-toggle-node)
|
:bind (("C-<tab>" . origami-toggle-node)
|
||||||
("C-<iso-lefttab>" . origami-toggle-all-nodes))
|
("C-<iso-lefttab>" . origami-toggle-all-nodes))
|
||||||
:hook
|
:hook
|
||||||
(after-init . global-origami-mode))
|
(prog-mode . global-origami-mode))
|
||||||
|
|
||||||
;; Pomodoro en emacs :D
|
;; Pomodoro en emacs :D
|
||||||
(use-package pomidor
|
(use-package pomidor
|
||||||
:defer t
|
:defer t
|
||||||
:straight t
|
:straight t
|
||||||
:bind ("<f12>" . pomidor)
|
:bind ("<f12>" . pomidor)
|
||||||
:init
|
:config
|
||||||
;; (setq alert-default-style 'mode-line)
|
;; (setq alert-default-style 'mode-line)
|
||||||
(setq alert-default-style 'libnotify)
|
(setq alert-default-style 'libnotify)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user