diff options
-rw-r--r-- | .emacs.d/init.el | 7 | ||||
-rwxr-xr-x | emacs.org | 11 |
2 files changed, 5 insertions, 13 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 () @@ -713,7 +713,9 @@ Hook with ~dired-mode~ #+end_src ** Key-bindings #+begin_src emacs-lisp -(global-set-key (kbd "<escape>") 'keyboard-escape-quit) + (global-set-key (kbd "<escape>") 'keyboard-escape-quit) + (global-set-key (kbd "s-=") 'text-scale-increase) + (global-set-key (kbd "s--") 'text-scale-decrease) #+end_src *** General #+begin_src emacs-lisp @@ -773,13 +775,6 @@ Hook with ~dired-mode~ :keymaps 'org-mode-map "3" 'org-insert-image-size-300) #+end_src -*** Hydra -#+begin_src emacs-lisp -(defhydra hydra-zoom (global-map "s-z") - "zoom" - ("=" text-scale-increase "in") - ("-" text-scale-decrease "out")) -#+end_src * Org-mode Configuration ** org-make-toc #+begin_src emacs-lisp |