Just recently made the switch from Windows to Mac and use the alt + cmd + H shortcut alot.
However, I would like to re-map the key combination to something more convenient (say, alt + cmd + D).
Is this possible at all?
Open System Preferences and go to Keyboard -> Keyboard Shortcuts
Select Launchpad & Dock.
Uncheck Turn Dock Hiding On/Off. This will free up Cmd-Alt-D.
Select Application Shortcuts.
Click the + button to add a new binding to All Applications.
Type in the text Hide Others in the Menu Title text field.
Click in the Keyboard Shortcut box and type Cmd-Alt-D.
Related
You know how in Chrome in MacOS, you can do CMD + 1 to go to the first tab or CMD + 2 to go to the second, etc...
How can I add a keyboard shortcut in MacOS to do this as well with finder tabs in one window? Thanks!
To move between tabs, use Control+Tab. Include Shift to reverse direction.
While in Finder, if you click on the Window menu, you will see an item for Show Next Tab. At the right of that is “^⇥”, which tells you the keyboard shortcut is Control+Tab. Here is an Apple list of those symbols. You can also see them by opening the Keyboard Viewer. Enable that in System Preferences > Keyboard > Keyboard > “Show keyboard and emoji viewers in menu bar”, or open “/System/Library/Input Methods/KeyboardViewer.app”.
You can also set up your own key combination for this in System Preferences > Keyboard > Shortcuts. Select App Shortcuts, click +, select All Applications or Finder, enter “Show Next Tab” for the Menu Title, and enter the keys you like for the Keyboard Shortcut.
To move between windows of the current application (not just Finder), use ⌘+` (Command + Grave Accent [left of 1 key]). Include Shift to reverse direction.
Is there a keyboard-shortcut to click the resume button in the canvas on Xcode Previews, instead of clicking it every time?
⌘ command + option + P is what you're looking for.
Quick Answer
Editor -> Previews -> Refresh
Refresh canvas shortcut
⌥ option + ⌘ command + P
Open canvas shortcut
⌥ option + ⌘ command + ↩ return
💡 Automated way to refresh the preview
Note that there is an option called Automatically Refresh Canvas that is enabled by default and helps you to not refreshing it manually again and again.
🎁 How to find ANY macOS apps shortcuts
In almost all macOS apps, you can use help menu to find the submenu item you want (some kind of preview in this case). And it will show you the exact location of the submenu alongside the associated shortcut:
I have searched for preview for this case :)
Is there a keyboard shortcut for OSX Mavericks to show all windows, even the minimized or hidden ones for an application?
I hate having to use my mouse to click on the Chrome icon to open my other chrome windows.
The keyboard shortcut to show all windows for an application is Ctrl+Down then switch between these windows using arrow keys.
To change the keys used for the shortcut to whatever you want, go to System Preferences-> Keyboard-> Shortcuts-> Mission Control-> Application Windows.
It's under the system preferences for Mission Control: there's a shortcut defined there for "Application windows", currently set to ctrl + down arrow
Works for open and minimised windows for your currently chosen application.
Ctrl + ▲ (up arrow) works on my Mac
You can setup a "hot corner" and select "Application Windows". Also you would see the file history in a banner so that you could also access to your files that are minimised.
I read the documentation about Firefox's page inspector. I didn't find any shortcut for inspecting an element directly without clicking the button 'choose element with mouse'. The documentation for opening the inspector itself even looks to be wrong.
You open it with cmd + option + i on OSX rather than cmd + option + c as described in the documentation.
Using Firefox v24
It seems that Ctrl+Shift+C always open the inspector in "choose element with mouse" mode. [Linux, FF 26.0. Also works in Chrome.]
It's not exactly the same flow as context menu -> inspect element but I find it more useful. The hover tooltip sometimes gives me all the info I need. And it's more reliable — just opening the context menu generates a mouse event while Ctrl+Shift+C doesn't. E.g. with CodeMirror which plays games with invisible elements, using context menu usually lands me in the hidden textarea or fake cursor, while "choose with mouse" mode reliably gives me the styled editor content I wanted to inspect.
Windows: Ctrl+Shift+C.
Mac: Cmd+Option+C.
Ctr + Shift + C and function F12 button is default inspect element button for every browser.
So if firebug isn't installed in your firefox then F12 button is the shortest shortcut for your goal.
I'm not sure about the way you do it in Mac OS, but on windows, if you select the element by pressing tab until you reach it, if you press the context menu key and then Q, you open the inspector on that specific element, like it happens when you right click on it.
I believe the context menu key is not a mac thing, but it seems that there are people that worked around to do it. See this question: How do I open the context menu from a Mac keyboard?.
On Mac (I'm using Yosemite though), it's Command ⌘ + Option + c.
On Linux (Ubuntu 18.04) and Firefox (version 72.0.2) it's CTRL + SHIFT + i , or hotkey F12.
On the above shown asking popup window on Mac, how can I select another button (left button) by using keyboard.
Without clicking mouse button, I want to make left button highlighten.
Is there any shortcuts?
Go to Preferences -> Keyboard. At the bottom, turn on "All controls" under "Full Keyboard Access".
The alternate option will be highlighted with a blue ring. Hitting space will activate this. If there are multiple options, hitting tab will alternate between them.
For English/Mac OSX 10.10:
Go to Keyboard in System Preferences, and then select 'All controls'. Space will select the alternate option if two options. If more than two options then tab will alternate between them.
PS: I would much rather the option of using arrow keys and enter. Interested to know if anyone knows how to hack this?
After reading Tricon's answer, I got the way!!!
Just see the following shortcuts.
Preferences -> Keyboard -> Keyboard & keyboard input (I don't know the correct English menu, I'm using Korean "탭이 초점을 이동하는 방식 변경 (^F7) )
Once you do ^F7 (In case of mac book, Control + fn + F7) on a popup window, you can travel over buttons on any popup windw!!!
Thank you Tricon for giving me clue :)
In Catalina in Keyboard -> Shortcuts press Use keyboard navigation to mve focus between controls. Then you can use Tab to highlight another button and use Space to actually press it.