Skip to content

Instantly share code, notes, and snippets.

@duncanmorris
Last active May 3, 2016 10:26
Show Gist options
  • Save duncanmorris/a4b7aeda7f7086838287 to your computer and use it in GitHub Desktop.
Save duncanmorris/a4b7aeda7f7086838287 to your computer and use it in GitHub Desktop.
A collection of useful shortcuts I keep forgetting

SHORTCUTS

See also http://www.danrodney.com/mac/

EMACS BINDINGS

  • Start of line: Ctrl-A
  • End of line: Ctrl-E
  • Up one line: Ctrl-P
  • Down one line: Ctrl-N
  • Left one character: Ctrl-B
  • Right one character: Ctrl-F
  • Delete one RIGHT: Ctrl-D
  • Delete one LEFT: Ctrl-H
  • Delete all RIGHT: Ctrl-K

Sublime

  • Quick Switch project: Ctrl Alt P
  • Open Command Palette: Ctrl Shift P
  • Open Go to: Ctrl P
  • Go to: Ctrl P @
  • Multiple Panes: Shift Alt [0-4]
  • 2x2 Pane Grid: Shift Alt 5
  • Toggle Sidebar: Ctrl-K-B
  • Start Multiple Cursors: Ctrl-d <mouseclick>
  • Select Word: Ctrl-d
  • Select Line: Ctrl-l
  • Indent: Decrease - Ctrl-[, Increase Ctrl-]
  • Move Line: Ctrl-Shift-UP Ctrl-Shift-DOWN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment