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) (defhydra my-elixir/context-hydra (:color teal :hint nil)
" "
Elixir actions ^Elixir actions^
^Elixir^ ^Actions^
^^^^^^^^----------------------------------------------------------------------- ^^^^^^^^-----------------------------------------------------------------------
_f_: Format buffer _r_: Reload buffer _f_: Format buffer
_i_: imenu _i_: Indent buffer _i_: iMenu
" "
("q" nil "cancel" :color blue) ("q" nil "cancel" :color blue)
("r" revert-buffer-no-confirm)
("i" indent-region)
("f" elixir-format) ("f" elixir-format)
("i" lsp-ui-imenu)) ("m" lsp-ui-imenu))
(defun activate-elixir-mode () (defun activate-elixir-mode ()
"All things Elixir." "All things Elixir."

View file

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

View file

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

View file

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