Revert "Remove hyperbole from Emacs"

This reverts commit 813bbf08c7.
This commit is contained in:
Andreas Zweili 2024-03-04 17:31:30 +01:00
parent 7eb5f9f866
commit a8b5ea3394
3 changed files with 12 additions and 0 deletions

View File

@ -71,6 +71,7 @@ in
epkgs.ht
epkgs.htmlize
epkgs.hydra
epkgs.hyperbole
# epkgs.journalctl-mode
epkgs.know-your-http-well
epkgs.languagetool

View File

@ -0,0 +1,10 @@
(use-package hyperbole
:config
;; define the local variable az-user-dir to a path and then check if the directory exists
;; if the directory exists then set the variable hbmap:dir-user to the path
(let ((az-user-dir (expand-file-name "~/nextcloud/10_documents/99_archive/0000/hyperbole/")))
(when (file-exists-p az-user-dir)
(setq hbmap:dir-user az-user-dir)))
(define-key hyperbole-mode-map (kbd "C-c /") nil)
(hyperbole-mode 1))

View File

@ -18,6 +18,7 @@
(load-file (modules-path "az_deft_raw.el"))
(load-file (modules-path "az_deft.el"))
(load-file (modules-path "az_denote.el"))
(load-file (modules-path "az_hyperbole.el"))
(load-file (modules-path "az_langtool.el"))
(load-file (modules-path "az_markdown.el"))
(load-file (modules-path "az_move_text.el"))