add global scaling
This commit is contained in:
parent
946ea868eb
commit
89b33c3eb6
@ -19,10 +19,18 @@
|
|||||||
:timeout 0.25
|
:timeout 0.25
|
||||||
"q" 'toggle-input-method))
|
"q" 'toggle-input-method))
|
||||||
;; Zoom, for bad resolutions (windows)
|
;; 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
|
(general-define-key
|
||||||
"<escape>" 'keyboard-escape-quit
|
"<escape>" 'keyboard-escape-quit
|
||||||
"C--" 'text-scale-decrease
|
"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
|
;; we are not spacemacs, but we might be
|
||||||
(general-define-key
|
(general-define-key
|
||||||
:states '(normal visual)
|
:states '(normal visual)
|
||||||
|
Loading…
Reference in New Issue
Block a user