diff --git a/init.org b/init.org index c21e923..d967196 100644 --- a/init.org +++ b/init.org @@ -194,7 +194,7 @@ then load it. Needs to load early so the ~:general~ keyword is available for ~use-package~. -#+BEGIN_SRC emacs-lisp +#+BEGIN_SRC emacs-lisp :tangle no (use-package general :ensure t :demand t) #+END_SRC @@ -1201,10 +1201,6 @@ behind it. avy-goto-word-1-above avy-goto-word-1-below avy-goto-word-or-subword-1) - :general - (:states 'normal - " j j" #'avy-goto-char-timer - " j w" #'avy-goto-word-0) :bind (("C-:" . avy-goto-char-timer) ("M-g w" . avy-goto-word-0) @@ -1223,7 +1219,6 @@ Avy is supported by evil and setup in the *evil-integration* package. ** Command Log Mode -Sometimes it is useful to check what the fingers were up to when some surprising sequence of events happened. Command Log Mode is a package that records all the commands that are executed in the buffer and provides a way to replay them. @@ -2405,16 +2400,15 @@ it in the same context. Hmmm.... sounds even better. gicrisf has [[https://github.com/gicrisf/ox-zola][created a package]] to export org files to Zola. #+BEGIN_SRC emacs-lisp - (use-package ox-hugo - :ensure t - :after ox) - (use-package ox-zola - :ensure (ox-zola :host github :repo "gicrisf/ox-zola" :files (:defaults "*.el" "backend" "stylesheets")) - :after (ox-hugo) - :config - (require 'ox-hugo) - :general - (" o z" 'ox-zola-export-wim-to-md)) + (use-package ox-hugo + :ensure t + :after ox) + (use-package ox-zola + :ensure (ox-zola :host github :repo "gicrisf/ox-zola" :files (:defaults "*.el" "backend" "stylesheets")) + :after (ox-hugo) + :config + (require 'ox-hugo) + ) #+END_SRC #+RESULTS: @@ -3092,7 +3086,7 @@ Indicates the ~init.el~ file is provided by and ends here: #+END_SRC ** DONE Decide about general keybindings. -CLOSED: [2025-01-20 Mon 10:28] +SCHEDULED: <2025-02-02 zo> The *general* package offers enhanced support for *evil* keybindings, notably it integrates with *use-package* to define keybindings which will load the package if not loaded yet.