summaryrefslogtreecommitdiff
path: root/.emacs.d/snippets/keys.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/snippets/keys.el')
-rw-r--r--.emacs.d/snippets/keys.el14
1 files 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