如何在emacs -nw(仅命令行)中放大 /输入,其中具有数字键盘(也没有鼠标车轮)?

发布于 2025-01-21 13:35:44 字数 847 浏览 3 评论 0原文

我很难找到用于缩放(增加字体尺寸) /不缩放(减小字体尺寸)的快捷方式。我必须补充说,我对命令行emacs(即没有窗口,即“ -nw”选项)感兴趣,我不使用图形接口。

缩放命令应该是cx c-+,并且缩放cx c--也是因为我使用的是笔记本电脑 - 通常没有鼠标 - 我对“鼠标旋转/下/下”不感兴趣。选项。

我尝试了CX C-+两种方式:

"typing Ctrl then 'x' then Ctrl then key '1' which is the key with the '+' symbol above the 1 on my qwertz keyboard"

"typing Ctrl then 'x' then Ctrl - WHILE HOLDING SHIFT" then key '1' which is the key with the '+' symbol above the 1 on my qwertz
keyboard"

似乎都没有起作用,尽管第二个似乎更有意义,即保持Shift,好像要写下我可以使用Shift-'1'的“+”标志,

所以我Wonder:快捷方式CX C-+仅适用于配备数字键盘的人?还是有另一种方式,无论如何您建议什么?

不,这个问题(我如何在emacs中绑定c- = ) 回答我的,实际上我什至不明白这是什么- 据我所知)...

我只是在问如何缩放/缩放IE增加/减小字体尺寸...

I am having trouble finding the shortcut for Zooming (increasing font size) / unZooming (decreasing font size) in emacs. I must add that I am interested in the command-line emacs (i.e. no window, i.e. "-nw" option) only, I don't use the graphical interface.

The Zoom-in command is supposed to be C-x C-+ and the Zoom-out C-x C--, also since I am using a laptop - often without mouse -, I am not interested by a "mouse-wheel up/down" option.

I tried C-x C-+ in two ways:

"typing Ctrl then 'x' then Ctrl then key '1' which is the key with the '+' symbol above the 1 on my qwertz keyboard"

"typing Ctrl then 'x' then Ctrl - WHILE HOLDING SHIFT" then key '1' which is the key with the '+' symbol above the 1 on my qwertz
keyboard"

neither seem to work, although the second would seem to make more sense, i.e. to hold shift as if to write the '+' sign that i can get with shift-'1'

So I wonder: is the shortcut C-x C-+ only intended for people equipped with a numeric keypad ? or is there another way and in any case what do you suggest ?

And no, this question (How do I bind C-= in emacs?) does not answer mine, in fact I don't even understand what it is about (question is totally unclear and unrelated to mine - as far as i understand)...

I am just asking how to Zoom/unZoom i.e. increase/decrease font size...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

把人绕傻吧 2025-01-28 13:35:44

由于Emacs在终端内运行,因此您无法像作为GUI应用程序一样直接控制字体。要放大,您需要使用终端应用程序提供的方法来更改字体大小。这通常是< ctrl>+ and&< ctrl> - ,但是您的终端键键可能会有所不同。

Since emacs is running within a terminal, you can't directly control the font as you would running as a GUI app. To zoom in and out, you need to use the method that your terminal application provides for changing the font size. This is often <ctrl>+ and <ctrl>-, but your terminal keybindings may be different.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文