From c9cb210d16a9cf33c4d3c3558b78fbcd612d7efc Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Sun, 21 Apr 2019 12:28:52 -0400 Subject: [PATCH] made applications and useful modes hydras --- conf.org | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/conf.org b/conf.org index 2fc0a50..7cfc12a 100644 --- a/conf.org +++ b/conf.org @@ -3631,12 +3631,20 @@ The function keys are nice because they are almost (not always) free in every mo (global-set-key (kbd "") 'org-clock-goto) (global-set-key (kbd "C-") 'org-tomato-user-get-summary) (global-set-key (kbd "C-S-") 'org-tomato-user-pomodoro-goto) -(global-set-key (kbd "") 'ansi-term) (global-set-key (kbd "") 'helm-command-prefix) -(global-set-key (kbd "C-") 'nd/open-urxvt) -(nd/when-bin "mu" (global-set-key (kbd "") 'mu4e)) -(global-set-key (kbd "C-") 'global-hl-line-mode) -(global-set-key (kbd "S-") 'display-line-numbers-mode) + +(defhydra hydra-modes (global-map "" :exit t) + "convenient mode toggles" + ("v" visual-line-mode) + ("h" global-hl-line-mode) + ("n" display-line-numbers-mode)) + +(defhydra hydra-tools (global-map "" :exit t) + "convenient tool shortcuts" + ("m" mu4e) + ("e" elfeed) + ("t" ansi-term) + ("T" nd/open-urxvt)) #+END_SRC *** control/meta #+BEGIN_SRC emacs-lisp