remove calls to general and general itself

This commit is contained in:
Peter Tillemans 2025-02-02 22:30:13 +01:00
parent 0e190fb9fb
commit dfc617a4b0

View file

@ -194,7 +194,7 @@ then load it.
Needs to load early so the ~:general~ keyword is available for ~use-package~. 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) (use-package general :ensure t :demand t)
#+END_SRC #+END_SRC
@ -1201,10 +1201,6 @@ behind it.
avy-goto-word-1-above avy-goto-word-1-above
avy-goto-word-1-below avy-goto-word-1-below
avy-goto-word-or-subword-1) avy-goto-word-or-subword-1)
:general
(:states 'normal
"<leader> j j" #'avy-goto-char-timer
"<leader> j w" #'avy-goto-word-0)
:bind :bind
(("C-:" . avy-goto-char-timer) (("C-:" . avy-goto-char-timer)
("M-g w" . avy-goto-word-0) ("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 ** 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 surprising sequence of events happened. Command Log Mode is a package
that records all the commands that are executed in the buffer and that records all the commands that are executed in the buffer and
provides a way to replay them. 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. gicrisf has [[https://github.com/gicrisf/ox-zola][created a package]] to export org files to Zola.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package ox-hugo (use-package ox-hugo
:ensure t :ensure t
:after ox) :after ox)
(use-package ox-zola (use-package ox-zola
:ensure (ox-zola :host github :repo "gicrisf/ox-zola" :files (:defaults "*.el" "backend" "stylesheets")) :ensure (ox-zola :host github :repo "gicrisf/ox-zola" :files (:defaults "*.el" "backend" "stylesheets"))
:after (ox-hugo) :after (ox-hugo)
:config :config
(require 'ox-hugo) (require 'ox-hugo)
:general )
("<leader> o z" 'ox-zola-export-wim-to-md))
#+END_SRC #+END_SRC
#+RESULTS: #+RESULTS:
@ -3092,7 +3086,7 @@ Indicates the ~init.el~ file is provided by and ends here:
#+END_SRC #+END_SRC
** DONE Decide about general keybindings. ** 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, The *general* package offers enhanced support for *evil* keybindings,
notably it integrates with *use-package* to define keybindings which notably it integrates with *use-package* to define keybindings which
will load the package if not loaded yet. will load the package if not loaded yet.