[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: 26.1-rc1: global-set-key suggestions

From: Drew Adams
Subject: RE: 26.1-rc1: global-set-key suggestions
Date: Sun, 29 Apr 2018 14:50:56 -0700 (PDT)

> >     (global-set-key (kbd "s-+") #'text-scale-increase)
> >     (global-set-key (kbd "s-=") #'text-scale-increase)
> >     (global-set-key (kbd "s--") #'text-scale-decrease)
> I'd prefer binding these to a function that changes the font size on the
> whole frame, rather than just the current buffer.

See `zoom-frm-in' and `zoom-frm-out', in `zoom-frm.el'.

Or `zoom-in' and `zoom-out' (same library), which you
can use for both frame zooming and buffer zooming.

| zoom-in is an interactive compiled Lisp function.
| It is bound to S-mouse-1, C-wheel-up.
| (zoom-in ARG)
| Zoom current frame or buffer in.
| With a prefix arg, toggle between zooming frame and zooming buffer.
| Frame zooming uses command ‘zoom-frm-in’.
| Buffer zooming uses command ‘text-scale-increase’.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]