Keyboard Shortcuts on Mac
Recently, I started to use an external keyboard on the Mac OS, which means that I had to give up the convenience of the touchpad. In the meantime, this is a chance to pick up the many keyboard shortcuts which I otherwise would not feel the urge to learn.
OS X
- Close an app:
Cmd
+Q
- Switch desktops:
Ctrl
+LeftArrow
/RightArrow
- Mission control:
Ctrl
+UpArrow
- App expose:
Ctrl
+DownArrow
- Launch an app on dock:
Ctrl
+F3
- Jump to the next app:
Cmd
+Tab
(possibly with arrows) - Finder view:
Cmd
+1
/2
/3
/4
- Switch between the windows of the same app:
Cmd
+`
(backtick) - Full screen:
Cmd
+Ctrl
+F
- Close a window / tab:
Cmd
+W
- Close all windows of the same app:
Cmd
+Option
+W
- Show desktop:
F11
- Maximize a window to fill the screen: add shortcut Zoom
Ctrl
+Cmd
+=
- Move focus to the menu bar:
Ctrl
+F2
- Open a new Finder window in Finder:
Cmd
+N
- Open a selected folder:
Cmd
+DownArrow
ORCmd
+O
VS Code
- Show command palette:
Cmd
+Shift
+P
ORF1
- Half open a file:
Cmd
+P
thenEnter
- Fully open a file:
Cmd
+P
thenRightArrow
- Make a half opened file fully open:
Cmd
+K
thenEnter
- Open Markdown preview:
Cmd
+K
thenV
- Go to beginning of line:
Home
ORCmd
+LeftArrow
- Go to end of line:
End
ORCmd
+RightArrow
- Go to previous page:
PageUp
- Go to next page:
PageDown
- Scroll in editor:
Ctrl
+PageUp
/PageDown
- Show Explorer:
Cmd
+Shift
+E
- Show Search:
Cmd
+Shift
+F
- Hide side bar: change “toggle side bar visibility” from
Cmd
+B
toCmd
+Shift
+A
- Navigate editors:
Ctrl
+Tab
Web browser (Firefox)
- Jump to the previous tab:
Ctrl
+PageUp
- Jump to the next tab:
Ctrl
+Tab
ORCtrl
+PageDown
- Display/Close side bar:
Cmd
+B
- Open a new tab:
Cmd
+T
- Next:
Cmd
+LeftArrow
- Back:
Cmd
+RightArrow
- Navigate Google search results: add an add-on
- Navigate:
Tab
/Shift
+Tab
ORLeftArrow
/RightArrow
- Open in a new tab:
Cmd
+Shift
+Enter
- Open in a new background tab:
Cmd
+Enter
- Open in a new window:
Shift
+Enter
- Navigate:
Slack
- Switch workspace:
Cmd
+number
ORCmd
+Shift
+[
/]
- Move focus:
F6
/Shift
+F6
Statement: 1. The copyrights of all original posts in this blog are reserved. For reposting, you do not need to contact the author. However, you need to indicate Siberian Tiger as the author and attach the links of the posts. 2. All reposted posts are marked as "reprint" with authors indicated and links provided. Should there be copyright infringement, please contact the author as per the "About" page. The author will delete the content as soon as possible.