module: remove :ui hydra
This module has been deprecated for some time because it is too trivially small, and it's always been unclear how hydra fits into Doom's vision for its UI, but I intend to lean into either transient or Embark in the future.
This commit is contained in:
parent
d7f5e7033e
commit
b08c2c745f
5 changed files with 0 additions and 131 deletions
|
@ -1,62 +0,0 @@
|
|||
#+title: :ui hydra
|
||||
#+subtitle: Discount modality for mythological beast hunters
|
||||
#+created: October 29, 2019
|
||||
#+since: 2.0.0
|
||||
|
||||
#+begin_quote
|
||||
*This module is deprecated.* The module is too trivially small, and it's
|
||||
always been unclear how hydra fits into Doom's vision for its UI. It's been
|
||||
decided that Doom will head toward Embark, transient, or hercules instead.
|
||||
#+end_quote
|
||||
|
||||
* Description :unfold:
|
||||
This module adds hydra to Doom Emacs, as well as a few custom built hydras to
|
||||
start with:
|
||||
|
||||
- A hydra to control windows ~+hydra/window-nav/body~.
|
||||
- A hydra to control text zoom level ~+hydra/text-zoom/body~.
|
||||
|
||||
** Maintainers
|
||||
/This module has no dedicated maintainers./ [[doom-contrib-maintainer:][Become a maintainer?]]
|
||||
|
||||
** Module flags
|
||||
/This module has no flags./
|
||||
|
||||
** Packages
|
||||
- [[doom-package:hydra]]
|
||||
|
||||
** Hacks
|
||||
/No hacks documented for this module./
|
||||
|
||||
** TODO Changelog
|
||||
# This section will be machine generated. Don't edit it by hand.
|
||||
/This module does not have a changelog yet./
|
||||
|
||||
* Installation
|
||||
[[id:01cffea4-3329-45e2-a892-95a384ab2338][Enable this module in your ~doom!~ block.]]
|
||||
|
||||
/This module has no external requirements./
|
||||
|
||||
* TODO Usage
|
||||
#+begin_quote
|
||||
This module has no usage documentation yet. [[doom-contrib-module:][Write some?]]
|
||||
#+end_quote
|
||||
|
||||
* TODO Configuration
|
||||
#+begin_quote
|
||||
/This module's configuration documentation is incomplete./ [[doom-contrib-module:][Complete it?]]
|
||||
#+end_quote
|
||||
|
||||
Configuring this module is only setting bindings to the provided hydra, or
|
||||
creating your own ones!
|
||||
|
||||
* Troubleshooting
|
||||
/There are no known problems with this module./ [[doom-report:][Report one?]]
|
||||
|
||||
* Frequently asked questions
|
||||
/This module has no FAQs yet./ [[doom-suggest-faq:][Ask one?]]
|
||||
|
||||
* TODO Appendix
|
||||
#+begin_quote
|
||||
This module has no appendix yet. [[doom-contrib-module:][Write one?]]
|
||||
#+end_quote
|
|
@ -1,49 +0,0 @@
|
|||
;;; ui/hydra/autoload/windows.el -*- lexical-binding: t; -*-
|
||||
|
||||
;;;###autoload (autoload '+hydra/text-zoom/body "ui/hydra/autoload/windows" nil t)
|
||||
(defhydra +hydra/text-zoom (:hint nil :color red)
|
||||
"
|
||||
Text zoom: _j_:zoom in, _k_:zoom out, _0_:reset
|
||||
"
|
||||
("j" doom/increase-font-size "in")
|
||||
("k" doom/decrease-font-size "out")
|
||||
("0" doom/reset-font-size "reset"))
|
||||
|
||||
;;;###autoload (autoload '+hydra/window-nav/body "ui/hydra/autoload/windows" nil t)
|
||||
(defhydra +hydra/window-nav (:hint nil)
|
||||
"
|
||||
Split: _v_ert _s_:horz
|
||||
Delete: _c_lose _o_nly
|
||||
Switch Window: _h_:left _j_:down _k_:up _l_:right _u_:undo _r_:redo
|
||||
Buffers: _p_revious _n_ext _b_:select _f_ind-file
|
||||
Resize: _H_:splitter left _J_:splitter down _K_:splitter up _L_:splitter right
|
||||
Move: _a_:up _z_:down _i_menu
|
||||
"
|
||||
("z" scroll-up-line)
|
||||
("a" scroll-down-line)
|
||||
("i" idomenu)
|
||||
|
||||
("h" windmove-left)
|
||||
("j" windmove-down)
|
||||
("k" windmove-up)
|
||||
("l" windmove-right)
|
||||
("u" winner-undo)
|
||||
("r" winner-redo)
|
||||
|
||||
("p" previous-buffer)
|
||||
("n" next-buffer)
|
||||
("b" switch-to-buffer)
|
||||
("f" find-file)
|
||||
|
||||
("s" split-window-below)
|
||||
("v" split-window-right)
|
||||
|
||||
("c" delete-window)
|
||||
("o" delete-other-windows)
|
||||
|
||||
("H" hydra-move-splitter-left)
|
||||
("J" hydra-move-splitter-down)
|
||||
("K" hydra-move-splitter-up)
|
||||
("L" hydra-move-splitter-right)
|
||||
|
||||
("q" nil))
|
|
@ -1,15 +0,0 @@
|
|||
;;; ui/hydra/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(use-package! hydra-examples
|
||||
:commands (hydra-move-splitter-up
|
||||
hydra-move-splitter-down
|
||||
hydra-move-splitter-right
|
||||
hydra-move-splitter-left))
|
||||
|
||||
;;;###package hydra
|
||||
(setq lv-use-separator t)
|
||||
|
||||
(defadvice! +hydra--inhibit-window-switch-hooks-a (fn)
|
||||
:around #'lv-window
|
||||
(let (doom-switch-window-hook)
|
||||
(funcall fn)))
|
|
@ -1,4 +0,0 @@
|
|||
;; -*- no-byte-compile: t; -*-
|
||||
;;; ui/hydra/packages.el
|
||||
|
||||
(package! hydra :pin "317e1de33086637579a7aeb60f77ed0405bf359b")
|
|
@ -35,7 +35,6 @@
|
|||
;;doom-quit ; DOOM quit-message prompts when you quit Emacs
|
||||
;;(emoji +unicode) ; 🙂
|
||||
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
|
||||
;;hydra
|
||||
;;indent-guides ; highlighted indent columns
|
||||
;;ligatures ; ligatures and symbols to make your code pretty again
|
||||
;;minimap ; show a map of the code on the side
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue