macos删除ssh密钥_如何在macOS中启用密钥重复

macos删除ssh密钥

macos删除ssh密钥

As anyone who uses a Mac knows, entering special characters is really easy–you just hold down a letter. That’s great if you want to play Pokémon Go with your friends mañana, but not so much if you realllllllllllllllllly want to play now.

就像使用Mac的任何人都知道的那样, 输入特殊字符确实非常容易 –您只需按住一个字母即可。 如果您想和朋友玛娜娜一起玩PokémonGo,那就太好了,但是如果您现在想玩,那就不要了。

Normally, on macOS, when you hold down a key, it will display a popup allowing you pick a special character if there are any assigned to that particular key.

通常,在macOS上,当您按住某个键时,它将显示一个弹出窗口,允许您选择一个特殊字符(如果为该特定键分配了任何特殊字符)。

If a key doesn’t have any special characters behind it and you hold it down, nothing will happen.

如果键后面没有任何特殊字符,而您按住该键,则不会发生任何事情。

You can repeat some keys like space, backspace, and arrows, but that’s about it. So, how do you fix this?

您可以重复一些键,如空格键,退格键和箭头键,仅此而已。 那么,如何解决这个问题?

You can switch it back to the more old school behavior–where holding a key repeats it–but it’s somewhat inconvenient. You can’t really have both options, since the hoop you have to jump through kind of makes it a this-way-or-that-way type of deal.

您可以将其切换回较旧的行为-按住键会重复该行为-但这样做有些不便。 实际上,您不可能同时拥有这两种选择,因为您必须跳过障碍物,这使其成为一种单向或双向交易。

You have to use a command in the Terminal, which might seem easy enough except that in order to make it stick, you have to restart the computer. Want to change it back? Enter the command and restart again.

您必须在终端中使用一个命令,该命令看起来似乎很简单,但为了使其坚持下去,您必须重新启动计算机。 想要改回来吗? 输入命令,然后再次重新启动。

To do this, first open the Terminal from the Utilities > Applications folder.

为此,首先从实用程序>应用程序文件夹中打开终端。

With the Terminal open, now enter the following command and hit Return.

在终端打开的情况下,现在输入以下命令并单击Return。

defaults write -g ApplePressAndHoldEnabled -bool false

Next, restart your computer and you should now be able to repeat all characters.

接下来,重新启动计算机,您现在应该可以重复所有字符。

Before you continue though, you might want to make sure that you adjust the repeat speed to suit your preferences. To do this, first open the System Preferences and then click open “Keyboard”.

不过,在继续之前,您可能需要确保调整重复速度以适合您的偏好。 为此,首先打开系统偏好设置,然后单击打开“键盘”。

The controls that apply are Key Repeat and Delay Until Repeat.

适用的控件是“ 键重复”和“ 延迟直到重复”

The first option will let you dictate how fast a key repeats. Note, if it is off, then keys won’t repeat at all.

第一个选项可让您决定按键重复的速度。 请注意,如果关闭,则按键完全不会重复。

The Delay Until Repeat option lets you decide how long it takes when you press and hold a key before it begins repeating.

“直到重复的延迟”选项使您可以确定在按住键之前要花多长时间才能开始重复。

If you want to reenable special characters, then you will need to enter the command in the Terminal again, change the last part to “true” and then again restart your computer.

如果要重新启用特殊字符,则需要再次在终端中输入命令,将最后一部分更改为“ true”,然后再次重新启动计算机。

defaults write -g ApplePressAndHoldEnabled -bool true

Granted, this isn’t the most convenient way to go about switching between repeating and special characters. While you might not use one or the other often enough that this necessarily seems like a big problem, there are enough Mac users out there asking this very same question.

当然,这不是在重复字符和特殊字符之间切换的最便捷方法。 尽管您可能没有足够频繁地使用一个或另一个来解决这个问题,但这似乎是一个大问题,但是有足够多的Mac用户问同样的问题。

It would be far more convenient if Apple would simply add a checkbox to the keyboard preferences panel that lets you enable or disable special characters as needed.

如果Apple仅在键盘首选项面板中添加一个复选框,使您可以根据需要启用或禁用特殊字符,则将更加方便。

Unfortunately, judging by a cursory Google search, this is a problem people have been looking into since at least OS X Lion, so its apparently something Apple doesn’t think needs fixing.

不幸的是,从粗略的Google搜索来看,至少从OS X Lion开始,这就是人们一直在研究的问题,因此,Apple显然不需要修复此问题。

翻译自: https://www.howtogeek.com/267463/how-to-enable-key-repeating-in-macos/

macos删除ssh密钥

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值