Skip to content

Instantly share code, notes, and snippets.

@fallwith
Created May 1, 2012 22:30
Show Gist options
  • Save fallwith/2571974 to your computer and use it in GitHub Desktop.
Save fallwith/2571974 to your computer and use it in GitHub Desktop.
OS X keyboard shortcuts
Here are a few OS X keyboard shortcuts I can think of now that I'm in front of a keyboard:
text editing
-
cmd + right arrow = end of line
cmd + left arrow = start of line
alt + right arrow = right one word
alt + left arrow = left one word
(add shift to the above to add highlighting)
textmate
-
alt + cmd + right arrow OR shift + cmd + ] = next tab
alt + cmd + left arrow OR shift + cmd + [ = previous tab
cmd + ] = indent selected text
cmd + [ = outdent selected text
cmd + r = run current file (great for standalone ruby scripts)
cmd + / = comment/uncomment selected text
terminal
-
shift + cmd + right arrow = next tab
shift + cmd + left arrow = left tab
ctrl + e = end of line
ctrl + a = start of line
ctrl + f = forward one character
ctrl + b = backward one character
alt + f = forward one word
alt + b = backward one word
cmd + . = alias for ctrl + c
firefox/chrome
-
alt + cmd + right arrow = next tab
alt + cmd + left arrow = previous tab
finder
-
shift + cmd + delete (backspace) = empty the trash can
shift + cmd + g = go to folder
/ = within any gui "save" dialog, hit / to enter in a path
cmd + ` (backtick) = cycle through the windows of the current app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment