cmd命令停止快捷键_如何在OS X中更改Cmd + Q快捷键(以停止意外关闭应用程序)...

cmd命令停止快捷键

cmd命令停止快捷键

image

If you’ve spent any time using Mac OS X, you’ve figured out that the Cmd+W shortcut key closes a window or tab, while the Cmd+Q key quits the entire app. The problem? The keys are right next to each other, and way too easy to accidentally hit! Here’s how to change it.

如果您花了很多时间使用Mac OS X,您会发现Cmd + W快捷键关闭了一个窗口或选项卡,而Cmd + Q则退出了整个应用程序。 问题? 按键彼此相邻,而且容易被意外击中! 更改方法如下。

This problem is compounded even more when you’re using an application like Google Chrome, Safari, or Firefox, where you’re opening or closing tabs all the time, and probably using the Cmd+W key to close just the current tab. If you aren’t careful, you’ll accidentally hit Cmd+Q instead, and your entire browser gets closed.

当您使用诸如Google Chrome,Safari或Firefox之类的应用程序时,这个问题甚至更加复杂,您一直在其中打开或关闭标签页,并且可能使用Cmd + W键仅关闭当前标签页。 如果不小心,您会不小心碰到Cmd + Q,整个浏览器都会关闭。

重新映射Cmd + Q(或任意)快捷键 (Remapping the Cmd+Q (Or Any) Shortcut Key)

Open up the System Preferences window, and then head down into Keyboard.

打开“系统偏好设置”窗口,然后向下进入“键盘”。

System Preferences

Now switch to the Keyboard Shortcuts tab, and then click the little plus symbol at the bottom of the window.

现在切换到“键盘快捷方式”选项卡,然后单击窗口底部的小加号。

Keyboard

Select the application you’re going to remap the key for, type in the Exact title of the menu item into the Menu Title box, and then customize the keyboard shortcut to something that you’d like it to be.

选择您要为其重新映射键的应用程序,在“菜单标题”框中键入菜单项的“确切”标题,然后将键盘快捷方式自定义为您想要的快捷方式。

System Preferences-1

Once you click the Add button, the change will be immediate—head back to the other application and look at the menu, where you’ll see the new key is in effect.

单击“添加”按钮后,更改将立即生效-返回另一个应用程序并查看菜单,您将在其中看到新密钥生效。

image

Unfortunately, you’ll need to customize this for each application separately, but at least it’s not that hard. In my case, there was really only one or two applications to bother with.

不幸的是,您需要为每个应用程序分别自定义此功能,但是至少它并不那么困难。 以我为例,实际上只有一个或两个应用程序要打扰。

翻译自: https://www.howtogeek.com/howto/39520/how-to-change-the-cmdq-shortcut-key-in-os-x-to-stop-accidentally-closing-apps/

cmd命令停止快捷键

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值