1. 11
  1.  

  2. 7

    macOS has something far better than this built in: the ‘help’ menu contains a free-form text field that is used to search help. It also searches menus. Why is this better? Because it makes deeply nested sub-menus more discoverable. When you search for something, matching menu items appear in the help menu and, when you hover over them, the system expands the menus that lead to it and so the next time you need it you might be able to remember where it is (and also browse related commands). If it’s something that you use often then you definitely will.

    1. 1

      This is a fantastic call-out. I am also a big Alfred user even though I often wish it would be more cross-platform or I wish there would be a more cross-platform alternative.

    2. 4

      No mention of Alfred? I’ve been using Alfred for years. Seems to match most of the use cases for Raycast.

      Interestingly, Raycast’s FAQ mentions Alfred, saying Raycast is so much more powerful because it can do, among other things, clipboard management and text expansion. But I use Alfred for both of those things out of the box!

      1. 4

        Traditionally CMD + K, hence the moniker “Command K bars.” But CMD + E and CMD + / have also been strong shortcut contenders.

        Really? In apps I use, it more commonly seems to be Cmd-[Shift-]-P. I expect Cmd-K to be for inserting hyperlinks. And Apple’s HIG has always (IIRC) reserved Cmd-E for putting the selection in the search field.

        Was it Sublime Text that pioneered this? That’s where I first saw it in an app. As a stand-alone system-wide utility it goes back to Quicksilver (mid-90s?)

        1. 3

          Emacs left the chat.

          (Sad that there’s no mention of ‘M-x’.)

          1. 2

            It’d be nice if HIGs had formal guidance on how best to use these, and UI toolkits to provide them. For example, applications on macOS use it (Xcode has one, and it looks like Spotlight’s), but AFAIK there’s nothing in AppKit/UIKit/SwiftUI for them - you have to build one yourself.

            1. 2

              In the case of code editors, the next level of this idea is the lightbulb — a command bar which suggests a narrow set of commands specific to the current context (cursor position)

              https://rust-analyzer.github.io/blog/2020/09/28/how-to-make-a-light-bulb.html