emacs放大/缩小 [英] emacs zoom in/zoom out

查看:169
本文介绍了emacs放大/缩小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

解决方案

有没有办法在emacs上放大和缩小(动态改变字体大小)尝试 Cx C - + Cx C - ;也就是说,控制 - x 控制 - 减号 / <加一个。



一个组合( Cx C - + Cx < kbd> C - ),后续 + - 增加或减少文本比例,而不输入 Cx C - 再次。



由sawa添加



查找分配给所提到的键的功能,并发现它们是 text-scale-increase text-scale-reduce 。我将以下内容添加到我的配置文件中,以便我可以执行 Ctrl + 滚动放大/缩小。这是有用的。

 (全局设置键[C-mouse-4] -cale-increase)
(全局设置键[C-mouse-5]'文本缩放)


Is there a way to zoom in and out (dynamically change the font size, quite smoothly) on emacs?

解决方案

Try C-x C-+ and C-x C--; that is, Control-x Control-Minus/Control-Plus.

After one combination (C-x C-+ or C-x C--), successives + or - increase or decrease the text scale without typing C-x C- again.

Addition by sawa

I looked up the function that was assigned to the keys mentioned, and found out that they are text-scale-increase and text-scale-decrease. I added the following to my configuration file so that I can do Ctrl+Scroll to zoom in/out. It is useful.

(global-set-key [C-mouse-4] 'text-scale-increase)
(global-set-key [C-mouse-5] 'text-scale-decrease)

这篇关于emacs放大/缩小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆