Shortcuts#

Mac#

Function

Shortcuts

Force Quit Application

ESC + Option + Command

Copy

Command + C

Paste

Command + V

Cut

Command + X

Save

Command + S

Quit

Command + Q

Close

Command + W

Big++

Command + +

Small--

Command + -

Switch Language Input

Command + Option

View Hidden files

Shift + Command + .

Finder#

Function

Shortcuts

New Tab

Command + T

As Icons

Command + 1

As List

Command + 2

As Columns

Command + 3

As Gallery

Command + 4

Delete

Command + Delete

Xnip#

Function

Shortcuts

Screenshot

Command + Control + X

AltTab#

Function

Shortcuts

Switch

Option + Tab

有道翻译#

Function

Shortcuts

Screenshot Translation

Command + Option + X

Paste#

Function

Shortcuts

Clipboard

Command + V + Shift

Left Choose

Command + [

Right Choose

Command + ]

PDF Expert#

Function

Shortcuts

New Tab

Command + T

Single Page

Command + 1

Two Pages

Command + 2

Split Vertical

Command + 3

Split Horizontal

Command + 4

Underline

Option + 1

Highlight

Option + 2

Text

Option + 3

Follow the process to set shortcuts: System Preferences -> Keyboard -> Shortcuts -> App Shortcuts -> + Applicaiton -> PDF Expert

../_images/Shortcuts-1.jpg

Fig. 9 PDF Expert Shortcuts#

Iterm2#

Function

Shortcuts

New Tab

Command + T

Split Vertical

Command + D

Split Horizontal

Command + D + Shift

First Tab

Command + 1

Second Tab

Command + 2

Jupyter Lab/notebook#

Double-click to open ipynb file in Mac.

../_images/Shortcuts-2.jpg

Fig. 10 JupyterLab_launcher#

  • Open up Automator app, click New Document, then click Application and choose Run Shell Script.

  • Set the Pass Input option to as arguments

  • Copy and paste the following code

    variable="'$1'"
    the_script='tell application "terminal" to do script "jupyter lab '
    osascript -e "${the_script}${variable}\""
    
  • Finally, save the file as JupyterLab_launcher and choose File Format as Application.

Now you can double-click a .ipynb file and it will be opened with JupyerLab. It’s the same as juoyter notebook. More info can refer to https://samedwardes.com/2020/01/31/open-ipynb-with-double-click/

VSCode#

Open two screens:

  • Command + Shift + P: > Workspace: Duplicate As Workspace in New Window

Function

Shortcuts

Universal Shortcut Key

Command + Shift + P

Annotation

Command + /