diff options
author | Thanos Apollo <[email protected]> | 2023-02-01 10:43:53 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-02-01 10:43:53 +0200 |
commit | e893db911346932599ff3d41cac8708bd4dd32f3 (patch) | |
tree | 77b6d0bd7acec3da560b9ffc2c285882bfc7da8f | |
parent | 45fad8817dbb6b1cd2ab96b754a0d21c421a2f20 (diff) |
keys: Add hydra +-, add email and elfeed
-rw-r--r-- | .emacs.d/snippets/keys.el | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/.emacs.d/snippets/keys.el b/.emacs.d/snippets/keys.el index 1589260..0d88af6 100644 --- a/.emacs.d/snippets/keys.el +++ b/.emacs.d/snippets/keys.el @@ -4,6 +4,7 @@ (require 'vterm) (require 'general) (require 'pdf-tools) +(require 'hydra) ;; my general's leader key! (defconst general-key "C-c g") @@ -14,6 +15,13 @@ (general-create-definer general-does :prefix general-key) +(defhydra hydra-zoom (global-map "s-z") + "zoom" + ("=" text-scale-increase "in") + ("-" text-scale-decrease "out")) + + + ;; Basic functions (general-define-key "C-d" 'kill-region @@ -23,7 +31,8 @@ "C-c l e" 'apollo/emacs-keys ;;Change keyboard layouts/language "C-c l g" 'apollo/greek-keyboard - "C-κ" 'apollo/emacs-keys) + "C-κ" 'apollo/emacs-keys + "C-x C-b" 'ibuffer) @@ -35,7 +44,8 @@ "e" 'eshell "i" 'circe "c" 'apollo/center-buffer - "m" 'mu4e) + "m" 'mu4e + "f" 'elfeed) ;;pdf-tools (general-define-key |