Skip to content

Instantly share code, notes, and snippets.

@ndarville
Created November 24, 2012 16:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ndarville/4140455 to your computer and use it in GitHub Desktop.
Save ndarville/4140455 to your computer and use it in GitHub Desktop.
Sublime Text 2 Key Bindings
[
// Swaps the default behaviour of copy-pasting code
// to automatically indent pasted code properly
// Mac
{ "keys": ["super+v"], "command": "paste_and_indent" },
{ "keys": ["super+shift+v"], "command": "paste" },
// Windows
{ "keys": ["ctrl+v"], "command": "paste_and_indent" },
{ "keys": ["ctrl+shift+v"], "command": "paste" }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment