emacs-devel
[Top][All Lists]
Advanced

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

Re: set font size with ctrl-mouse wheel?


From: Tassilo Horn
Subject: Re: set font size with ctrl-mouse wheel?
Date: Fri, 31 Jul 2009 15:39:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Neal Becker <address@hidden> writes:

Hi Neal,

>> http://www.emacswiki.org/emacs/zoom-frm.el
>
> Thanks!  I can confirm zoom-frm works.  But, it also requires:
> frame-fns.el
> frame-cmds.el
>
> I favor adding (at least the abililty to easily bind, if not the
> default binding) of ctrl-mouse-wheel as standard in emacs

There is an easy way (at least in emacs 23.1):

--8<---------------cut here---------------start------------->8---
(global-set-key (kbd "<C-mouse-5>") 'text-scale-increase)
(global-set-key (kbd "<C-mouse-4>") 'text-scale-decrease)
--8<---------------cut here---------------end--------------->8---

Bye,
Tassilo




reply via email to

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