Skip to content

Latest commit

 

History

History
92 lines (75 loc) · 4.92 KB

File metadata and controls

92 lines (75 loc) · 4.92 KB

macOS Shortcuts

Here are some useful macOS shortcuts to help you work more efficiently.

General

  • ⌘ + ⇧ + .: Toggle hidden files in Finder. Especially useful to debug or edit hidden files like .gitignore.
  • ⌥ + clicking items in the menu bar: Show hidden settings.
  • ⌥ + clicking the Notification Center icon: Turn on Do Not Disturb mode quickly.
  • ⌘ + ⌥ + D: Hide or show the Dock.
  • ⌃ + ⌘ + Q: Immediately lock your screen.
  • ⌘ + ⌥ + W: Close all windows of the app currently in use without quitting the app.
  • ⌘ + ⌃ + ⌥ + ⏏ (or Power button): Quit all apps and shut down your Mac immediately without a confirmation dialog.
  • ⌘ + ⇧ + G (when in Finder or in the Open/Save dialog): Go to a specific folder.
  • ⌘ + ⌥ + V: Move the copied files (Cut-Paste) instead of just copying them.
  • ⌘ + ⌥ + I: Show the Inspector window, a single, live updating info window in Finder.
  • ⌘ + ⌃ + Space: Open the Character Viewer to insert emojis, symbols, and other special characters.
  • ⌘ + ⇧ + /: Open the Help menu in any application and immediately type to search.
  • ⌘ + ⌥ + Esc: Force quit an unresponsive application.
  • ⌘ + ⌥ + ⇧ + V: Paste and match the style of the destination text (useful in word processors or email clients).
  • ⌘ + ⇧ + ⌥ + N: Create a new folder with selected items in the Finder.
  • ⌘ + 1 / 2 / 3 / 4: Change Finder views (Icon, List, Column, and Gallery View respectively).
  • ⌘ + ⌥ + S: Show/hide the Sidebar in Finder windows.
  • ⌘ + ⌃ + F: Enter or exit Full Screen mode in compatible apps.
  • ⌥ + Brightness/Volume keys: Open Display preferences or Sound preferences directly.
  • ⌘ + ⇧ + U: Open the Utilities folder within Finder.
  • ⌃ + ⌘ + Space (while in a text field): Show the emoji & symbols picker. This can also be replaced with Raycast.

1Password

  • ⌘ + ⇧ + Space: Open 1Password mini. This is a global shortcut that works in any app.

Slack

  • ⌘ + K: Open the Quick Switcher to jump to any conversation or channel (even the one you are not in).

Google Chrome

  • Search Shortcuts: Set up search shortcuts for your most visited pages.
  • ⌘ + ⌥ + I: Open Developer Tools.
  • ⌘ + ⌥ + J: Open the JavaScript Console.
  • ⌘ + ⌥ + U: View the source code of the current page.
  • ⌘ + ⇧ + D: Bookmark all open tabs into a new bookmarks folder. Great for saving your current session for later.
  • ⌘ + ⌥ + → (or ←): Jump to the next (or previous) open tab. Efficient for navigating through tabs without using your mouse.
  • ⌘ + ⇧ + J: Open the Downloads page in a new tab. Quickly access downloaded files.
  • ⌘ + ⇧ + N: Open a new window in Incognito mode. Good for private browsing sessions.
  • ⌘ + Click on a link: Open the link in a new tab in the background. Allows for efficient browsing without losing current page context.
  • ⌘ + ⇧ + Click on a link: Open the link in a new tab and switch to it immediately.
  • ⌘ + ⌥ + Click on a link: Open the link in a new tab on the right of the current tab.
  • ⌘ + ⇧ + T: Reopen the last closed tab. Handy for when you accidentally close a tab.
  • ⌘ + 0: Reset zoom level to default. Quickly return to the standard view.
  • ⌘ + ⇧ + Delete: Open the Clear Browsing Data options. Quickly clear your browsing history, cookies, cache, etc.
  • ⌃ + Tab or ⌃ + ⇧ + Tab: Cycle through tabs in the order they were opened.
  • ⌘ + L: Highlight the URL in the address bar. Makes it easy to type a new URL or copy the current one.
  • ⌘ + ⌥ + F: Move your cursor to the search box. Start a Google search without going to the Google homepage.
  • ⌘ + ⇧ + R: Reload your current page, ignoring cached content. Useful for developers or when updating content doesn't seem to appear.
  • ⌘ + P: Print the current page. For when you need a physical copy of a webpage.
  • ⌘ + F: Open the find bar to search for text within the current page. Helps locate specific information on a webpage quickly.

VIM

  • :wq: Save and close editor.
  • :56: Jump to line 56
  • fa: Jump forward to letter 'a' on same line
  • ⌃ + D: Jump down half a page
  • ^ + U: Jump up half a page
  • vit: Select inside tag
  • vat: Select around tag
  • cit: Change inside tag
  • dat: Delte around tag

Find and Replace

  • /foo: Search for Foo
  • n: Next occurence
  • N: Previous occurence

surround.vim

  • cs"': Change " to '
  • ds": Remove " around selection

Lazygit

  • p: Pull from repository
  • P: Push to repository
  • a: Stage 'all' files in the working directory
  • c: Commit with message
  • ?: Show help popup
  • ^ + r: Jump to recent repository
  • +: Next screen mode
  • Tab: Focus next window