HACKER Q&A
📣 hmontazeri

Shortcut for Commands


Hi all,

I'm wondering what you all prefer as a command shortcut inside an app.

There are now multiple so-called standards. Let me explain.

Note: I'm a Mac user, so I'll use CMD instead of STRG.

In GitHub, it's the / to start commands palette.

In most docs, it's CMD+K (almost always for search)

Other apps like VSCode use CMD+P to the same.

So now the questions, what do you prefer and why? Background: I'm building a new tool that addresses devs and am curious.

Thanks for the feedback <3


  👤 tornadofart Accepted Answer ✓
Depends... for search, cmd + K, cmd + P come to mind, sure, but: In the MS office world, search is cmd + F.

My point is: I would think about my app and research which apps are most used together with mine. A disassembly tool will be used most likely together with an IDE, for example. A BI tool will be used together with MS Excel. Then I would use a shortcut scheme that is similar, to ensure a seamless work experience when switching between apps.

Bonus points if you can configure multiple shortcut schemes ("office style" vs "vs code style" for example).


👤 gorkemcetin
I keep a list on https://www.commandpalette.org - you can have an understanding of the distribution of the command palettes <> corresponding shortcuts there. Let me know if I am missing any apps - there should be more I haven't included yet.

👤 cjstarts
Depends on the command.

For `Command Prompt` inside your app, you can use `/`.

Refer to stripe dashboard for the same.