macos 如何提高终端中的光标速度?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4489885/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-21 07:28:31  来源:igfitidea点击:

How can I increase the cursor speed in terminal?

macosterminalperformancecursor

提问by classic_programmer

How can I increase the cursor speed in terminal? I have Mac OS X by the way. It would also be interesting to know it for Linux.

如何提高终端中的光标速度?顺便说一下,我有 Mac OS X。为 Linux 了解它也会很有趣。

I don't know what I should search for in Google (or what you like).

我不知道我应该在谷歌搜索什么(或者你喜欢什么)。

采纳答案by John Pickup

If by "cursor speed", you mean the repeat rate when holding down a key - then have a look here: http://hints.macworld.com/article.php?story=20090823193018149

如果“光标速度”是指按住某个键时的重复率 - 那么请看这里:http: //hints.macworld.com/article.php?story=20090823193018149

To summarize, open up a Terminal window and type the following command:

总而言之,打开一个终端窗口并输入以下命令:

defaults write NSGlobalDomain KeyRepeat -int 0

More detail from the article:

文章中的更多细节:

Everybody knows that you can get a pretty fast keyboard repeat rate by changing a slider on the Keyboard tab of the Keyboard & Mouse System Preferences panel. But you can make it even faster! In Terminal, run this command:

defaults write NSGlobalDomain KeyRepeat -int 0

Then log out and log in again. The fastest setting obtainable via System Preferences is 2 (lower numbers are faster), so you may also want to try a value of 1 if 0 seems too fast. You can always visit the Keyboard & Mouse System Preferences panel to undo your changes.

You may find that a few applications don't handle extremely fast keyboard input very well, but most will do just fine with it.

每个人都知道,通过更改键盘和鼠标系统首选项面板的键盘选项卡上的滑块,您可以获得非常快的键盘重复率。但是你可以让它更快!在终端中,运行以下命令:

默认写 NSGlobalDomain KeyRepeat -int 0

然后注销并重新登录。通过“系统偏好设置”可获得的最快设置是 2(数字越小越快),因此如果 0 看起来太快,您可能还想尝试一个值 1。您可以随时访问键盘和鼠标系统首选项面板来撤消您的更改。

您可能会发现一些应用程序不能很好地处理极快的键盘输入,但大多数应用程序都能很好地处理它。

回答by Piotr

System Preferences => Keyboard => Key Repeat Rate

系统偏好设置 => 键盘 => 按键重复率