Bind key to increase / decrease font size in emacs

blueFast picture blueFast · Dec 23, 2012 · Viewed 11.9k times · Source

In my terminal (I have terminator) I can use the key combinations Ctrl + and Ctrl - to increase / decrease the font size.

In emacs I can do the following to set the font-height:

(set-face-attribute 'default nil :height 70)

But I do not know how to increase / decrease it. How could I easily add this to my emacs configuration?

Answer

Stefan picture Stefan · Dec 23, 2012

I think you want C-x C-+ or C-x C--.