summaryrefslogtreecommitdiff
path: root/.emacs.d
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-03-07 08:35:31 +0200
committerThanos Apollo <[email protected]>2023-03-07 08:35:31 +0200
commitac95e521f868de0995a74631c53e5b3a8bdd2865 (patch)
tree91215921384efb71726bab723d19287bb2955ead /.emacs.d
parente6c9380b9eb855154de0a7f7f8c9a3fbaf73bce1 (diff)
emacs: for keys remove hydra and make text scaling keys with s
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/init.el7
1 files changed, 2 insertions, 5 deletions
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 "<escape>") '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 ()