Clean up hydras and update packages
This commit is contained in:
parent
c9db32bd03
commit
aa284f70ae
13 changed files with 184 additions and 181 deletions
|
|
@ -24,11 +24,14 @@
|
|||
;; Hydra
|
||||
(defhydra my-clojure/context-hydra (:color teal :hint nil)
|
||||
"
|
||||
^ Clojure actions
|
||||
^^^^^^^^--------------------------------------------------------------------------------------------
|
||||
Buffer: _r_: Reload _f_: Format _l_: Load
|
||||
Cider: _j_: Jack in _t_: Test
|
||||
^^
|
||||
^
|
||||
^ Cider ^^Buffer
|
||||
^────────────────────────────────────────────────────────────────────────────────
|
||||
^ _j_: Jack in _r_: Reload
|
||||
^ _t_: Test _f_: Format
|
||||
^ ^ ^ _l_: Load
|
||||
^ ^ ^ _e_: Show Errors
|
||||
^
|
||||
"
|
||||
("q" nil "cancel" :color blue)
|
||||
|
||||
|
|
@ -36,6 +39,7 @@ Cider: _j_: Jack in _t_: Test
|
|||
("j" cider-jack-in)
|
||||
("f" cider-format-buffer)
|
||||
("l" cider-load-buffer)
|
||||
("e" flycheck-list-errors)
|
||||
("t" cider-test-run-loaded-tests))
|
||||
|
||||
(defun activate-my-clojure-mode ()
|
||||
|
|
|
|||
|
|
@ -12,11 +12,14 @@
|
|||
|
||||
(defhydra my-elixir/context-hydra (:color teal :hint nil)
|
||||
"
|
||||
^ Elixir actions
|
||||
^^^^^^^^--------------------------------------------------------------------------------------------
|
||||
Buffer: _r_: Reload _f_: Format _i_: Indent _e_: Show Errors
|
||||
Other: _m_: iMenu
|
||||
^^
|
||||
^
|
||||
^ LSP ^^Buffer
|
||||
^────────────────────────────────────────────────────────────────────────────────
|
||||
^ _m_: iMenu _r_: Reload
|
||||
^^^ _f_: Format
|
||||
^^^ _i_: Indent
|
||||
^^^ _e_: Show Errors
|
||||
^
|
||||
"
|
||||
("q" nil "cancel" :color blue)
|
||||
("r" revert-buffer-no-confirm)
|
||||
|
|
|
|||
|
|
@ -20,16 +20,18 @@
|
|||
|
||||
(defhydra my-fsharp/context-hydra (:color teal :hint nil)
|
||||
"
|
||||
^Fsharp actions^
|
||||
^^^^^^^^-----------------------------------------------------------------------
|
||||
_r_: Reload buffer _f_: Format buffer
|
||||
_i_: Indent buffer _m_: iMenu
|
||||
^
|
||||
^ FSharp actions^
|
||||
^────────────────────────────────────────────────────────────────────────────────
|
||||
^ _r_: Reload buffer _f_: Format buffer
|
||||
^ _i_: Indent buffer _m_: iMenu
|
||||
^ _e_: Show errors
|
||||
"
|
||||
("q" nil "cancel" :color blue)
|
||||
|
||||
("r" revert-buffer-no-confirm)
|
||||
("i" indent-region)
|
||||
|
||||
("e" flycheck-list-errors)
|
||||
("f" lsp-format-buffer)
|
||||
("m" lsp-ui-imenu))
|
||||
|
||||
|
|
|
|||
|
|
@ -27,17 +27,21 @@
|
|||
|
||||
(defhydra my-haskell/context-hydra (:color teal :hint nil)
|
||||
"
|
||||
^Haskell actions^
|
||||
^^^^^^^^-----------------------------------------------------------------------
|
||||
_r_: Reload buffer _f_: Format buffer
|
||||
_i_: Indent buffer _m_: iMenu
|
||||
^
|
||||
^ LSP ^^Buffer
|
||||
^────────────────────────────────────────────────────────────────────────────────
|
||||
^ _m_: iMenu _r_: Reload
|
||||
^ ^ ^ _f_: Format
|
||||
^ ^ ^ _i_: Indent
|
||||
^ ^ ^ _e_: Show Errors
|
||||
^
|
||||
"
|
||||
("q" nil "cancel" :color blue)
|
||||
|
||||
("r" revert-buffer-no-confirm)
|
||||
("i" indent-region)
|
||||
|
||||
("f" lsp-format-buffer)
|
||||
("e" flycheck-list-errors)
|
||||
("m" lsp-ui-imenu))
|
||||
|
||||
(defun activate-haskell-mode ()
|
||||
|
|
|
|||
|
|
@ -26,11 +26,12 @@
|
|||
|
||||
(defhydra my-ocaml/context-hydra (:color teal :hint nil)
|
||||
"
|
||||
^ OCaml actions
|
||||
^^^^^^^^--------------------------------------------------------------------------------------------
|
||||
Buffer: _r_: Reload _f_: Format _i_: Indent
|
||||
Other: _o_: Opam env
|
||||
^^
|
||||
^
|
||||
^ OCaml actions
|
||||
^────────────────────────────────────────────────────────────────────────────────
|
||||
^ _r_: Reload _f_: Format
|
||||
^ _i_: Indent _o_: Opam env
|
||||
^
|
||||
"
|
||||
("q" nil "cancel" :color blue)
|
||||
|
||||
|
|
@ -72,16 +73,17 @@ Other: _o_: Opam env
|
|||
|
||||
(defhydra my-reason/context-hydra (:color teal :hint nil)
|
||||
"
|
||||
Reason actions
|
||||
|
||||
^Reason^ ^Actions^
|
||||
^^^^^^^^-----------------------------------------------------------------------
|
||||
_f_: Format buffer
|
||||
_o_: Update opam env
|
||||
^
|
||||
^ Reason actions
|
||||
^────────────────────────────────────────────────────────────────────────────────
|
||||
^ _r_: Reload _f_: Format
|
||||
^ _o_: Opam env
|
||||
^
|
||||
"
|
||||
("q" nil "cancel" :color blue)
|
||||
|
||||
("f" refmt)
|
||||
("r" revert-buffer-no-confirm)
|
||||
("o" tuareg-opam-update-env))
|
||||
|
||||
(defun my-reason-mode ()
|
||||
|
|
|
|||
15
lang/php.el
15
lang/php.el
|
|
@ -20,16 +20,21 @@
|
|||
|
||||
(defhydra my-php/context-hydra (:color teal :hint nil)
|
||||
"
|
||||
^PHP actions^
|
||||
^^^^^^^^-----------------------------------------------------------------------
|
||||
_r_: Reload buffer
|
||||
_i_: Indent buffer _m_: iMenu
|
||||
^
|
||||
^ LSP ^^Buffer
|
||||
^────────────────────────────────────────────────────────────────────────────────
|
||||
^ _m_: iMenu _r_: Reload
|
||||
^ ^ ^ _f_: Format
|
||||
^ ^ ^ _i_: Indent
|
||||
^ ^ ^ _e_: Show Errors
|
||||
^
|
||||
"
|
||||
("q" nil "cancel" :color blue)
|
||||
|
||||
("r" revert-buffer-no-confirm)
|
||||
("i" indent-region)
|
||||
|
||||
("f" lsp-format-buffer)
|
||||
("e" flycheck-list-errors)
|
||||
("m" lsp-ui-imenu))
|
||||
|
||||
(defun activate-php-mode ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue