aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/rul-init.d/hydra.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/rul-init.d/hydra.el')
-rw-r--r--.emacs.d/rul-init.d/hydra.el48
1 files changed, 0 insertions, 48 deletions
diff --git a/.emacs.d/rul-init.d/hydra.el b/.emacs.d/rul-init.d/hydra.el
deleted file mode 100644
index 525162e..0000000
--- a/.emacs.d/rul-init.d/hydra.el
+++ /dev/null
@@ -1,48 +0,0 @@
-(use-package hydra
- :ensure t
- :defer 1)
-
-;; tab-bar
-(defhydra hydra-tab-bar (:color amaranth)
- "Tab Bar Operations"
- ("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")
- ("m" tab-move "Move current tab" :column "Management")
- ("r" tab-rename "Rename Tab")
- ("<return>" tab-bar-select-tab-by-name "Select tab by name" :column "Navigation")
- ("l" tab-next "Next Tab")
- ("j" tab-previous "Previous Tab")
- ("q" nil "Exit" :exit t))
-
-(global-set-key (kbd "C-x t") 'hydra-tab-bar/body)
-
-;; Zoom
-(defhydra hydra-zoom ()
- "zoom"
- ("g" text-scale-increase "in")
- ("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))
-
-;; vterm
-(defhydra hydra-vterm ()
- "zoom"
- ("t" multi-vterm "Open a terminal" :exit t)
- ("d" multi-vterm-dedicated-open "Dedicated" :exit t)
- ("p" multi-vterm-prev "Previous terminal")
- ("n" multi-vterm-next "Next terminal")
- ("r" multi-vterm-rename-buffer "Rename buffer" :exit t)
- )
-
-(global-set-key (kbd "C-c t") 'hydra-vterm/body)
-
-
-(global-set-key (kbd "C-c m") 'hydra-go/body)
nihil fit ex nihilo