diff --git a/lisp/mir-keybinds.el b/lisp/mir-keybinds.el index 1b429e6..19b7e4f 100644 --- a/lisp/mir-keybinds.el +++ b/lisp/mir-keybinds.el @@ -19,10 +19,18 @@ :timeout 0.25 "q" 'toggle-input-method)) ;; Zoom, for bad resolutions (windows) +(defun mir/global-text-increase () + (interactive) + (global-text-scale-adjust 1)) +(defun mir/global-text-decrease () + (interactive) + (global-text-scale-adjust -1)) (general-define-key "" 'keyboard-escape-quit "C--" 'text-scale-decrease - "C-=" 'text-scale-increase) + "C-=" 'text-scale-increase + "C-_" 'mir/global-text-decrease + "C-+" 'mir/global-text-increase) ;; we are not spacemacs, but we might be (general-define-key :states '(normal visual)