summaryrefslogtreecommitdiff
path: root/emacs.org
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.org
parente6c9380b9eb855154de0a7f7f8c9a3fbaf73bce1 (diff)
emacs: for keys remove hydra and make text scaling keys with s
Diffstat (limited to 'emacs.org')
-rwxr-xr-xemacs.org11
1 files changed, 3 insertions, 8 deletions
diff --git a/emacs.org b/emacs.org
index 4cb69a5..1252891 100755
--- a/emacs.org
+++ b/emacs.org
@@ -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