diff options
author | Franck Cuny <franck.cuny@gmail.com> | 2020-06-04 13:00:52 -0700 |
---|---|---|
committer | Franck Cuny <franck.cuny@gmail.com> | 2020-06-04 13:00:52 -0700 |
commit | da48826141535baf0512758be4d92383887fcda1 (patch) | |
tree | a4be429ce2870b077556e167a4e407d733ea1ecd /emacs | |
parent | emacs: remove dired-git-info (diff) | |
download | emacs.d-da48826141535baf0512758be4d92383887fcda1.tar.gz |
emacs: drop hydra for prog mode
I can't bother learning / remembering to use it. I'm removing it again from this configuration, and will drop it completely. There's no need to pull / maintain another dependency which will break if I don't use it.
Diffstat (limited to '')
-rw-r--r-- | emacs.d/custom/fcuny-prog.el | 42 |
1 files changed, 1 insertions, 41 deletions
diff --git a/emacs.d/custom/fcuny-prog.el b/emacs.d/custom/fcuny-prog.el index 64ba181..182e9e6 100644 --- a/emacs.d/custom/fcuny-prog.el +++ b/emacs.d/custom/fcuny-prog.el @@ -25,32 +25,6 @@ :ensure t :hook ((go-mode . lsp-deferred)) :commands (lsp lsp-deferred) - :pretty-hydra - ((:title "lsp" :color teal :quit-key "q") - ("Connection" - (("cc" lsp "start") - ("cr" lsp-restart-workspace "restart") - ("cd" lsp-describe-session "describe session") - ("cq" lsp-disconnect "disconnect")) - "Find & Goto" - (("fd" lsp-describe-thing-at-point "describe symbol") - ("fm" lsp-ui-imenu "imenu") - ("ft" lsp-find-type-definition "type definition")) - "Refactor" - (("rr" lsp-rename "rename") - ("ra" lsp-execute-code-action "code action") - ("rf" lsp-format-buffer "format")) - "Toggles" - (("tl" lsp-lens-mode "toggle lens" :toggle t :exit nil)))) - :mode-hydra - ((go-mode) - (:color teal :quit-key "q" :title "Language Server Commands") - ("LSP" - (("d" lsp-describe-thing-at-point "describe") - ("R" lsp-rename "rename") - ("A" lsp-execute-code-action "code action") - ("F" lsp-format-buffer "format") - ("l" lsp-mode-hydra/body "more...")))) :custom (lsp-session-file (expand-file-name "lsp-session-v1" fcuny/path-emacs-var)) (lsp-enable-snippet nil) @@ -60,14 +34,6 @@ :ensure t :hook (lsp-mode . lsp-ui-mode) :commands lsp-ui-mode - :pretty-hydra - (lsp-mode-hydra - ("Toggles" - (("td" lsp-ui-doc-mode "toggle hover doc" :toggle t :exit nil) - ("ts" lsp-ui-sideline-mode "toggle sideline" :toggle t :exit nil)) - "Find & Goto" - (("gr" lsp-ui-peek-find-references "references") - ("gd" lsp-ui-peek-find-definitions "definitions")))) :custom (lsp-ui-doc-enable nil) (lsp-ui-doc-include-signature t) @@ -114,13 +80,7 @@ (tab-width 4)) (use-package gotest - :ensure t - :mode-hydra - (go-mode nil - ("Tests" - (("tt" go-test-current-test "current test") - ("tf" go-test-current-file "current file") - ("tp" go-test-current-project "current project"))))) + :ensure t) (use-package lisp-mode :bind |