emacs放大/缩小 [英] emacs zoom in/zoom out
问题描述
有没有办法在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屋!