From e893db911346932599ff3d41cac8708bd4dd32f3 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 1 Feb 2023 10:43:53 +0200 Subject: keys: Add hydra +-, add email and elfeed --- .emacs.d/snippets/keys.el | 14 ++++++++++++-- 1 file 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 -- cgit v1.2.3