Show current zoom level in corresponding hydra

This commit is contained in:
Daniel - 2020-09-26 11:22:59 +02:00
parent c11aeb6666
commit a2ce6ebc59
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
1 changed files with 5 additions and 2 deletions

View File

@ -21,8 +21,11 @@
;; zooming with single keystrokes (from oremacs)
(defhydra hydra-zoom (:color red
:body-pre (require 'face-remap))
"zoom"
:body-pre (require 'face-remap))
;; the following newline is important, as otherwise the format string is not
;; interpreted correctly; cf. https://oremacs.com/2015/02/23/hydra-0.11.0/
"
Zoom (%`text-scale-mode-amount): "
("g" text-scale-increase "increase")
("l" text-scale-decrease "decrease"))