From ac95e521f868de0995a74631c53e5b3a8bdd2865 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Tue, 7 Mar 2023 08:35:31 +0200 Subject: emacs: for keys remove hydra and make text scaling keys with s --- .emacs.d/init.el | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to '.emacs.d') diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 4ab70fc..0433d4b 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -618,6 +618,8 @@ you have the correctly set the OPENAI_API_KEY variable" "polybar" nil "polybar main"))) (global-set-key (kbd "") 'keyboard-escape-quit) +(global-set-key (kbd "s-=") 'text-scale-increase) +(global-set-key (kbd "s--") 'text-scale-decrease) ;; my general's leader key! (defconst general-key "C-c g") @@ -674,11 +676,6 @@ you have the correctly set the OPENAI_API_KEY variable" :keymaps 'org-mode-map "3" 'org-insert-image-size-300) -(defhydra hydra-zoom (global-map "s-z") - "zoom" - ("=" text-scale-increase "in") - ("-" text-scale-decrease "out")) - (add-hook 'org-mode-hook 'org-make-toc-mode) (defun apollo/org-theme-dracula () -- cgit v1.2.3