Skip to content

Instantly share code, notes, and snippets.

@phlco
Created August 6, 2014 14:15
Show Gist options
  • Save phlco/01491a0ba3b70d7983b7 to your computer and use it in GitHub Desktop.
Save phlco/01491a0ba3b70d7983b7 to your computer and use it in GitHub Desktop.
Terminal, Sublime, Spectacle Commands

Terminal Commands

Shortcut Action
or scrolls through previous entered commands
ctrl + c clears a line or cancel a process
ctrl + a moves your cursor to the beginning of a line.
ctrl + e moves it to the end of the line.
ctrl + f moves the cursor forward
ctrl + b moves the cursor back
ctrl + w deletes the previous word
ctrl + h deletes the one character at a time
ctrl + k deletes to the end of the line
tab cycles through auto completion

Sublime

Shortcut Action
cmd + k, cmd + b Toggles the sidebar
cmd + p Go to a file
cmd + shift + p command palette
cmd + l selects a whole line
cmd + / toggles a comment

Spectacle

Shortcut Action
option + cmd+ ← Left half of screen
option + cmd+ → Right half of screen
option + cmd+ ↑ Top half of screen
option + cmd+ ↓ Bottom half of screen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment