macOS keyboard shortcut favorites
Command (or Cmd) - β
Control (or Ctrl) - ^
Option (or Alt) - β₯
Shift - β§
Fn (Function) - π
- macOS keyboard shortcuts: https://support.apple.com/en-us/102650
- macOS Terminal shortcuts: https://support.apple.com/guide/terminal/keyboard-shortcuts-trmlshtcts/mac
- Chrome shortcuts: https://support.google.com/chrome/answer/157179
- Slack shortcuts: https://slack.com/help/articles/201374536-Slack-keyboard-shortcuts
- GitHub shortcuts: https://docs.github.com/en/get-started/accessibility/keyboard-shortcuts
- π (Fn) or π (Fn) + E: Open Emoji picker
- ^ (Ctrl) + A: Jump to beginning of line
- ^ (Ctrl) + E: Jump to end of line
- β₯ (Option) + Left/Right: Jump to previous/next word
- β (Cmd) + Tab: Switch applications
- β (Cmd) + β§ (Shift) + Tab: Switch applications (backwards)
- β (Cmd) + `: Switch windows of current application
- β (Cmd) + β§ (Shift) + V: Paste text without formatting
- β (Cmd) + A: Select all items/text
- β (Cmd) + H: Hide windows of front app
- β (Cmd) + M: Minimize windows of front app
- β (Cmd) + β₯ (Option) + Esc: Open force quit dialog
- β (Cmd) + Space: Open Spotlight
- β (Cmd) + ^ (Ctrl) + F: Fullscreen app
- β (Cmd) + β§ (Shift) + 3: Full screen screenshot
- β (Cmd) + β§ (Shift) + 4: Screenshot selection
- β (Cmd) + β§ (Shift) + 5: Open screenshot dialog
- β (Cmd) + ^ (Ctrl) + Q: Lock screen
- β (Cmd) + β₯ (Option) + D or π (Fn) + A: Show/hide dock
- β (Cmd) + ,: Open settings for frontmost app
- β (Cmd) + ^ (Ctrl) + Power button: Force restart, without prompting.
- π (Fn) + Up Arrow: Page Up - Scroll up one page.
- π (Fn) + Down Arrow: Page Down - Scroll down one page.
- π (Fn) + Left Arrow: Home - Scroll to the beginning of a document.
- π (Fn) + Right Arrow: End - Scroll to the end of a document.
- β (Cmd) + T: New Tab
- β (Cmd) + W: Close Tab
- β (Cmd) + N: New Window
- β (Cmd) + β§ (Shift) + W: Close Window
- β (Cmd) + β§ (Shift) + T: Reopen last closed tab/window
- β (Cmd) + R: Refresh page
- Space or Page Down: Scroll down a screen
- β§ (Shift) + Space or Page Up: Scroll up a screen
- (Safari) β (Cmd) + β§ (Shift) + \ : Search tabs / open tab switcher, type tab you want and hit enter
- (Chrome) β (Cmd) + β§ (Shift) + A: Search tabs / open tab switcher, type tab you want and hit enter
- (Chrome) β (Cmd) + 1/2/3/4/n: Switch to tab number n
- (Chrome) β (Cmd) + β§ (Shift) + N: Open new incognito window
- (Chrome) β (Cmd) + β§ (Shift) + B: Show/hide bookmarks bar
- (Chrome) β (Cmd) + L: Jump to URL bar
- β (Cmd) + β§ (Shift) + G: Go to Folder shortcut
- β (Cmd) + N: New Window
- β (Cmd) + T: New Tab
- β (Cmd) + O/down: Open file/folder
- β (Cmd) + Delete: Delete file/folder
- β (Cmd) + β§ (Shift) + N: New folder
- β (Cmd) + Up: Navigate to enclosing/parent folder
- β (Cmd) + I: Show file info
- β (Cmd) + E: Eject selected disk/volume
- β (Cmd) + β₯ (Option) + V: Move files in Clipboard from original location to the current location (aka cut/paste, vs copy/paste)
- β (Cmd) + β§ (Shift) + A: Selects output of last terminal command
- β (Cmd) + N: New window
- β (Cmd) + T: New tab
- β (Cmd) + L: Clear screen
- β (Cmd) + D: Split terminal pane
- ^ (Ctrl) + U: Delete the line
- ^ (Ctrl) + K: Delete to end of line
- ^ (Ctrl) + W: Delete backward to beginning of word
- ^ (Ctrl) + C: Cancel command
- ^ (Ctrl) + R: Search for a command
- ^ (Ctrl) + D: Exit/log out of terminal
- ^ (Ctrl) + S: Stop all output on screen
- ^ (Ctrl) + Q: Resume output to screen
- ^ (Ctrl) + Z: Suspend/stop running command. Resume with
fg
command for foreground orbg
command for background. - β₯ (Option) + Left/Right arrow key: jump forward/backward a word
- β₯ (Option) + mouse click: moves the cursor there, for easy command edits when you have a long command
- [Command]
!!
: Repeat the last command - [Command]
!n
: Repeat the ntth command from history
- β (Cmd) + K: Open quick switcher
- β (Cmd) + β§ (Shift) + D: Show/hide left sidebar
- β (Cmd) + G: Open search
- β (Cmd) + β§ (Shift) + A: Show all unreads
- Esc: Mark all messages in current conversation as read
- β§ (Shift) + Esc: Clear all unread
- E (when focused on message): Edit message
- S or /: Focus search bar
- .: Opens repo or pull request in editor
- t: Activate file finder
- l: Jump to line in code