22

如何在Atom 文本编辑器的运行实例中查看当前的键盘绑定

4

1 回答 1

32

You can find the full set of current keyboard shortcuts in the Settings View:

  1. Press Cmd+, on OS X or Ctrl+, on Windows/Linux
  2. Select Keybindings from the list of sections in the upper left
  3. Scroll through the list to find what you want or search for it by key or command name in the search box

Another way you can find keybindings is if you want to know what a particular key does, you can open the Keybinding Resolver view:

  1. Press Cmd+. on OS X or Ctrl+. on Windows/Linux
  2. Press the key or key combination you're curious about and a list will show up of all commands that are mapped to that key
  3. The one highlighted in a different color is the one that "wins" in whatever area of the application currently has focus (when different areas of the app have focus, some keys mean different things)

This view is also very useful for situations where you want to be sure that Atom is receiving the key combination you're pressing correctly.

The issue with the Open Your Keymap command is that it only shows you your personal overrides of the keybindings that the Atom application already has. It does nothing to tell you the full set or even if your keybindings are being used in a particular situation. That's what the above techniques are for.

于 2014-07-23T05:56:30.587 回答