23

I'm trying to identify an appropriate global hotkey to set in iTerm2's preferences for showing/hiding it:

enter image description here

I'd like to avoid any conflicts with other applications' hotkeys or other future use. Are there any blocks of key combinations reserved for user assignment in OS X, or groups of key combinations which aren't generally used, which would be particularly suitable?

6 Answers 6

10

I have found that Cmd+Control+A-Z are usually available for your custom global shortcuts.

Two notable exceptions are:

  • Cmd+Control+F, which makes apps full-screen.
  • Cmd+Control+Q, which Immediately locks your screen.

Also note mac OS does not differentiate between Cmd+Control and Control+Cmd. So unfortunately you can't get clever and simply reverse the order of the modifier keys to get more available binding options.

I too would like to be able to access a complete list, however, which is how I arrived to this page.

19
+50

Here are Apple's official OS X Human Interface Guidelines for Keyboard Shortcuts.

The document appears to be a current, authoritative, and complete guide to assigning keyboard shortcuts. It covers both the conceptual basis for using particular modifier keys, as well as the nitty-gritty of exactly which keys and which combinations are reserved system-wide, or likely to be reserved in the future.

Here's second Apple page showing a complete summary of existing keyboard shortcuts.

3
12

This is something I've been (and still am) tremendously bothered with, and have sinked a considerable amount of time to find something that both works as I'd like it to, and not interfere with the myriad of shortcuts already existing in OS X.

I was pretty partial to using the cmd+alt+ctrl+some key combo for a long time, and it works pretty well across the board. But, if you want something almost bulletproof, and seek to increase your geek cred all at one fell swoop, take a look at this blog post by Brett Terpstra, the guy behind nvAlt, among other things. It walks you through replacing your Caps Lock key with the combo cmd+alt+ctrl+shift, so you can do a 5-key combo (Caps Lock+some key) with 2 keys, which is awesome. This method gives you a whole keyboard worth of shortcuts not used by any app.

PS: Look at the comment section of the blog post to disable the esc functionality.

3

This is regarding a EU (European) keyboard, however, I use ctrl and the key directly above it ( < ). It has yet to conflict with anything.

1
  • That's Cmd + , on a mac keyboard and it works great.
    – Navin
    May 27, 2016 at 5:00
0

To find all the currently-assigned system shortcuts, open System Preferences -> Keyboard and select Keyboard Shortcuts. You can then scan through the options and see if the combination you like has been chosen. If it has, you can double-click the assignment and change it if you want, or just pick a different set of modifier keys. With Shift, Control, Option, Command, and Escape to choose from, finding an easy-to-remember and sensible combination shouldn't be too hard.

1
  • 1
    Thanks. That's only part of the story though; that tells me what global shortcuts are already picked, but not which key combinations applications are using. What I was looking for was a more general Apple design-oriented statement; that applications might be encouraged to AVOID using key combinations in a particular range. Feb 17, 2013 at 10:08
0

Any application can use any keyboard shortcut. If the application isn't a windowed application, then the developers need to ensure that they're not conflicting with existing system shortcuts. For example, you don't want a faceless app using, say, Cmd+Shift+G, which is the Go To Folder command in Finder. (And I think that the system would override such usage anyway.)

I tend to use multiple modifier keys when creating custom shortcuts for anything that might conflict with the system. Within specific apps, you just need to find shortcuts that the app doesn't use. And System Preferences will tell you if there is a conflict.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .