Browse Source

Defer loading of hydra, org addons

main
parent
commit
e2aa130d54
  1. 7
      README.org
  2. 6
      modules/editor.el
  3. 1
      modules/writing.el

7
README.org

@ -408,7 +408,8 @@ Implement the *leader* key using [[https://github.com/noctuid/general.el][genera
Use [[https://github.com/abo-abo/hydra][hydra]] for transient keybindings sharing a common prefix.
#+begin_src emacs-lisp
(use-package hydra)
(use-package hydra
:defer t)
#+end_src
*** Help
@ -504,7 +505,8 @@ Work directly with github issues / pull requests using [[https://github.com/magi
+ Requires a valid ~$GITHUB_TOKEN~
#+begin_src emacs-lisp
(use-package forge)
(use-package forge
:after magit)
#+end_src
Open the *status* page for the current repository with =SPC g=.
@ -792,6 +794,7 @@ I am using [[https://orgmode.org][Org-mode]] extensively for writing projects fo
#+begin_src emacs-lisp
(use-package org-superstar
:after org
:hook (org-mode . org-superstar-mode))
#+end_src

6
modules/editor.el

@ -31,7 +31,8 @@
:prefix dotfiles/leader-key
:global-prefix dotfiles/leader-key-global))
(use-package hydra)
(use-package hydra
:defer t)
(dotfiles/leader
"h" '(:ignore t :which-key "Help")
@ -65,7 +66,8 @@
:custom (magit-display-buffer-function
#'magit-display-buffer-same-window-except-diff-v1))
(use-package forge)
(use-package forge
:after magit)
(dotfiles/leader
"g" '(magit-status :which-key "Magit"))

1
modules/writing.el

@ -1,4 +1,5 @@
(use-package org-superstar
:after org
:hook (org-mode . org-superstar-mode))
(use-package ox-hugo

Loading…
Cancel
Save