doom: remove Hyperbole with Embark
In all the time that I've had Hyperbole installed, I've only ever used it to open file paths, and only in Nix files. While the package is versatile and quite useful, it is a heavy package and takes noticeable time on first start. OTOH I am just not discovering that the same use-case is covered by Embark, is much more featherweight in comparison and is already loaded and used by Doom by default. After trying out, while not 1:1 replacement, it is a good enough one, so I'm removing Hyperbole for now. The keybindings, by virtue of being probably single most accessible one, is now awarded to embark-dwim, but may be exchanged with embark-act in future, depending on how I feel. embark-act gets C-. for now, which itself is also fairly accessible.
This commit is contained in:
parent
ddc0505537
commit
eaf4ebbfad
1 changed files with 5 additions and 11 deletions
|
@ -135,8 +135,6 @@ Tangle ~packages.el~ from within org-mode.
|
|||
(package! bhankas
|
||||
:recipe (:local-repo "~/git/bhankas.el"))
|
||||
|
||||
(package! hyperbole)
|
||||
|
||||
(package! org-wild-notifier)
|
||||
|
||||
(package! modus-themes)
|
||||
|
@ -1008,19 +1006,15 @@ When Emacs is opened in Windows Subsystem for Linux, open web links in Firefox o
|
|||
(tab-bar-mode 1))
|
||||
#+end_src
|
||||
|
||||
** Hyperbole
|
||||
- Rebind default hyperbole entry so it doesn't conflict with Gnus.
|
||||
- I would have had been fine with letting it have ~M-RET~, but the alternate keybinding it defaults to is just bad.
|
||||
- The one configured now (~C-SPC C-SPC~) isn't really best, but it will have to do.
|
||||
** Embark
|
||||
#+begin_src emacs-lisp :lexical t
|
||||
(use-package! hyperbole
|
||||
:commands (hyperbole-mode hkey-either)
|
||||
(use-package! embark
|
||||
:commands (embark-act embark-dwim)
|
||||
:init
|
||||
(map! :map global-map
|
||||
"C-." #'embark-act
|
||||
:leader
|
||||
:desc "Hyperbole" "C-SPC" #'hkey-either)
|
||||
:config
|
||||
(hyperbole-mode 1))
|
||||
:desc "Embark" "C-SPC" #'embark-dwim))
|
||||
#+end_src
|
||||
|
||||
** Yasnippet
|
||||
|
|
Reference in a new issue