Update hydras

This commit is contained in:
Maciej 2020-10-09 14:54:52 +03:00
parent 96e8daf9ee
commit 3cb48ebe3f
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
4 changed files with 27 additions and 21 deletions

View file

@ -12,17 +12,18 @@
(defhydra my-elixir/context-hydra (:color teal :hint nil)
"
Elixir actions
^Elixir^ ^Actions^
^Elixir actions^
^^^^^^^^-----------------------------------------------------------------------
_f_: Format buffer
_i_: imenu
_r_: Reload buffer _f_: Format buffer
_i_: Indent buffer _i_: iMenu
"
("q" nil "cancel" :color blue)
("r" revert-buffer-no-confirm)
("i" indent-region)
("f" elixir-format)
("i" lsp-ui-imenu))
("m" lsp-ui-imenu))
(defun activate-elixir-mode ()
"All things Elixir."

View file

@ -20,17 +20,18 @@
(defhydra my-fsharp/context-hydra (:color teal :hint nil)
"
Fsharp actions
^Fsharp^ ^Actions^
^Fsharp actions^
^^^^^^^^-----------------------------------------------------------------------
_f_: Format buffer
_i_: imenu
_r_: Reload buffer _f_: Format buffer
_i_: Indent buffer _m_: iMenu
"
("q" nil "cancel" :color blue)
("r" revert-buffer-no-confirm)
("i" indent-region)
("f" lsp-format-buffer)
("i" lsp-ui-imenu))
("m" lsp-ui-imenu))
(defun activate-fsharp-mode ()
"Activate F# goodies."

View file

@ -27,17 +27,18 @@
(defhydra my-haskell/context-hydra (:color teal :hint nil)
"
Haskell actions
^Haskell^ ^Actions^
^Haskell actions^
^^^^^^^^-----------------------------------------------------------------------
_f_: Format buffer
_i_: imenu
_r_: Reload buffer _f_: Format buffer
_i_: Indent buffer _m_: iMenu
"
("q" nil "cancel" :color blue)
("r" revert-buffer-no-confirm)
("i" indent-region)
("f" lsp-format-buffer)
("i" lsp-ui-imenu))
("m" lsp-ui-imenu))
(defun activate-haskell-mode ()
"Run this in haskell-mode."

View file

@ -92,13 +92,16 @@ _v_: Split vertically _<up>_: Move up
^Context^ ^Actions^
^^^^^^^^-----------------------------------------------------------------------
_r_: Reload buffer
_i_: Indent buffer
_r_: Reload buffer _f_: Format buffer
_i_: Indent buffer _m_: iMenu
"
("q" nil "cancel" :color blue)
("r" revert-buffer-no-confirm)
("i" indent-region)
("r" revert-buffer-no-confirm))
("f" lsp-format-buffer)
("m" lsp-ui-imenu))
:bind ("C-c p" . hydra-file-switcher-menu/body)
("C-c c" . hydra-programming-menu/body)