Search code examples
emacselispfont-size

Bind key to increase / decrease font size in emacs


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?


Solution

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