chatgpt-mac icon indicating copy to clipboard operation
chatgpt-mac copied to clipboard

Add escape key shortcut to hide window

Open sharbel97 opened this issue 2 years ago • 4 comments

Hi Vince,

Just a quick contribution as your tool is gaining popularity. I always find myself reaching for the escape key as quick shortcut to minimize a popup, for example when you trigger Apple's Spotlight Search with Command + Space, you can exit it via Escape conveniently.

I added 3 lines to make your tool work the same. I tested it locally and it works as intended. Thanks!

sharbel97 avatar Dec 11 '22 04:12 sharbel97

Hey, @sharbel97 I am also working on a similar feature. Please look at point 1 of this enhancement. I have a few doubts regarding this. What would be the best platform to connect with you and ask a few specific questions?

ayush-vibrant avatar Dec 12 '22 04:12 ayush-vibrant

@sharbel97 Awesome thanks :) registering globally doesn't conflict with using Esc in other apps?

vincelwt avatar Dec 12 '22 12:12 vincelwt

@sharbel97 Awesome thanks :) registering globally doesn't conflict with using Esc in other apps?

Thank you for pointing that out @vincelwt After some reading, I think I do need to convert this to local shortcut.

sharbel97 avatar Dec 12 '22 17:12 sharbel97

On Mac the shortcut key is SHIFT + COMMAND + G, but within Adobe software that is also UNGROUP... It would be super nice to be able to customize the shortcut key for ChatGPT.

tommyowendesign avatar Aug 09 '23 15:08 tommyowendesign