aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.emacs.local.d/modes/hydra.el10
1 files changed, 9 insertions, 1 deletions
diff --git a/.emacs.local.d/modes/hydra.el b/.emacs.local.d/modes/hydra.el
index 071581b..17da76e 100644
--- a/.emacs.local.d/modes/hydra.el
+++ b/.emacs.local.d/modes/hydra.el
@@ -54,7 +54,7 @@ _s-f_: file _a_: ag _i_: Ibuffer _c_: cache
;; tab-bar
(defhydra hydra-tab-bar (:color amaranth)
"Tab Bar Operations"
- ("t" tab-new "Create a new tab" :column "Creation")
+ ("t" tab-new "Create a new tab" :column "Creation" :exit t)
("d" dired-other-tab "Open Dired in another tab")
("f" find-file-other-tab "Find file in another tab")
("x" tab-close "Close current tab")
@@ -74,3 +74,11 @@ _s-f_: file _a_: ag _i_: Ibuffer _c_: cache
("l" text-scale-decrease "out"))
(global-set-key (kbd "C-c z") 'hydra-zoom/body)
+
+;; Go
+(defhydra hydra-go ()
+ "zoom"
+ ("=" gofmt :exit t)
+ ("c" go-coverage :exit t))
+
+(global-set-key (kbd "C-c m") 'hydra-go/body)
nihil fit ex nihilo