MAC shortcuts

Here the simple mac shortcuts found from the difference sources such as1. Here the general tips:

  • Mac keyboard shortcuts from Apple Support.
  • run the caffeinate in the terminal to keep the computer wake unlimitedly2.
  • Expand print dialog box by default:
defaults write -g PMPrintingExpandedStateForPrint -bool TRUE
  • Enable or disable character accent menu:
// disable
defaults write -g ApplePressAndHoldEnabled -bool false
  • Add Dock space.
defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}'
killall Dock
  • Dock transition delay.
defaults write com.apple.dock autohide-time-modifier -float 0
killall Dock

Spotlight

  • In the spotlight, once find the file, hold down the CMD key to show the location of the file bottom of the window
  • if you press CMD+R, the file will be show in the file explorer.

Browser

Some important browser shortcuts

Functionality Browser Key Combination
To show the current URL All CMD+L
Restore the previous session Safari CMD+Shift+T
Show the open browser windows in a card Safari CMD+Shift+\
Move tab left or right All CMD+Shift+] or [
New tab All CMD+T
open in the folder All CMD+O

Desktop

  • To move the background window while keeping the from window current, hold the CMD and use the mouse to move the background window.
  • To always show the Dock, press CMD+OPT+D, to hide back press the same key combination again.
  • Go to Applications quickly Shift+CMD+A

Here are the simple shortcuts:

Functionality Key combination
Clean the desktop CMD+OPT+H

Files

  • To move the file, hold the CMD while dragging the file from one folder to another.
  • To copy the file, hold the OPT while dragging the file from one folder to another.
  • To create the alias to original file, hold the CMD+OPT while dragging the file from one folder to another.
  • Finder search queries can be executed in boolean logical operators[2]. To start the query press CMD+F.
  • If you want to run AND operation for example all the PNG images AND the name matches "Screen Shot", you have to click the "+" to create the second expression as follow 
  • Screen Shot 2020-04-09 at 8.43.29 am This is AND operation
  • If you want to find all the files whose extensions are either XML or json Screen Shot 2020-04-09 at 8.47.33 am While holding OPT, click the second "+" which will indicate the "..." symbol instead.

As well as you can created nested AND or OR operations.

Here are some file operations:

Functionality Key combination
Preview Spacebar
Full Screen CMD+OPT+Y
Open in default app CMD+O
Create a duplicate file CMD+D
Toggle hidden files CMD+Shift+.
To change the views in the Finder CMD+1,2...
For preview in the Finder (toggle) CMD+Shift+P
In the icon mode, resize all the columns OPT+mouse handler to move
Resize the item fonts CMD++
Go into the folder CMD+down arrow
Go to the parent folder CMD+up arrow
Finder query CMD+F
Move a file: copy then past CMD+C then OPT+V
Go to a folder by given path CMD+Shift+G

To change the file type to be recored as JPS, run the following command in the terminal:

defaults write com.apple.screencapture type JPG

To enable press and hold

defaults write -g ApplePressAndHoldEnabled -bool true

Notework

  • Find the WIFI information click the wifi icon while holding the OPT key.

Preview commands

  • To crop the image select the boundary and then CMD+K

Mac Screenshot Upate in iPad

If you connect your iPad via airdrop or sidecar, you can annotate screen shot using apple pencil.

  1. First create a screenshot using CMC+Shift+4 and select the region of the screen you wants.
  2. Then open that image in the preview by clicking on that.
  3. Select the following screen shot Screen Shot 2020-04-08 at 9.30.24 pm

  4. Now do the necessary editing in the iPad and click the Done.

Editing

Functionality Key combinations
Past without format CMD+OPT+Shift+V
Screenshot: Complete desktop CMD+Shift+3
Screenshot: selection CMD+Shift+4
Screenshot: Window with shadow CMD+Shift+4+spacebar
Screenshot: Window without shadow CMD+Shift+4, OPT+click to select
Screenshot: to clipboard CMD+Ctrl+Shift+4
Screen recording CMD+Ctrl+Shift+5
Access emoji (😀) CMD+Ctrl+spacebar
Word completion F5
Word definition CMD+Ctrl+D

Reference

Comments

Popular posts from this blog

How To: GitHub projects in Spring Tool Suite

Spring 3 Part 7: Spring with Databases

Parse the namespace based XML using Python