diff --git a/emacs/.emacs.d/config/init-ui.el b/emacs/.emacs.d/config/init-ui.el index 69e41cf..ccc1fd7 100644 --- a/emacs/.emacs.d/config/init-ui.el +++ b/emacs/.emacs.d/config/init-ui.el @@ -26,4 +26,13 @@ (delete-dups (font-family-list))))) (set-frame-font font)) +(defun text-scale-reset () + (interactive) + (text-scale-increase 0)) + +(general-def + "C-c +" #'text-scale-increase + "C-c -" #'text-scale-decrease + "C-c 0" #'text-scale-reset) + (provide 'init-ui)