Skip to content

Instantly share code, notes, and snippets.

@jahe
Last active June 15, 2020 08:22
Show Gist options
  • Save jahe/dfce627987e99eeda122224999b4868a to your computer and use it in GitHub Desktop.
Save jahe/dfce627987e99eeda122224999b4868a to your computer and use it in GitHub Desktop.
macOS Cheatsheet
# Move cursor to the beginning of the line
^+a
# Move cursor to the end of the line
^+e
# Delete from cursor to the beginning of the line
^+u
# Delete from cursor to the end of the line
^+k
# Delete the whole line (combination of two actions)
^+a ^+k
# Delete the word left to the cursor
^+w
# Switch two characters (especially useful for typos)
^+t
# In the terminal: Move cursor to the beginning of the word left to the cursor
Esc+B
# In a "Find"-Dialog go to the next match
⌘+G
# Close current window
⌘+W
# Close all windows of current app
⌘+Alt+W
# In Finder: Go to Desktop
⌘+Shift+D
# In Finder: Go to Home
⌘+Shift+H
# Hide current window
⌘+H
# Hide all other windows
⌘+Alt+H
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment