git clone 'git://github.com/purcell/default-text-scale.git'
This package provides commands for increasing or decreasing the
default font size in all GUI Emacs frames – it is like an Emacs-wide
It works by adjusting the height of the
default face in the
user theme, which is always combined with any other loaded
It's handy for quickly adjusting the font size for readability or impromptu screen-sharing.
default-text-scale.el is in a directory on your load-path, and
add the following to your
(require default-text-scale) (global-set-key (kbd "C-M-=") 'default-text-scale-increase) (global-set-key (kbd "C-M--") 'default-text-scale-decrease)
If you're an Emacs 24 user or you have a recent version of
package.el you can install
default-text-scale from the
MELPA repository. The version of
default-text-scale there will always be up-to-date.
(global-set-key (kbd "C-M-=") 'default-text-scale-increase) (global-set-key (kbd "C-M--") 'default-text-scale-decrease)
Author: Steve Purcell
This little library was extracted from the author's full Emacs configuration, which readers might find of interest.
Steve Purcell's blog // @sanityinc on Twitter