-
-
Save kenvunz/4583262 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// swap the keybindings for paste and paste_and_indent | |
{ "keys": ["super+v"], "command": "paste_and_indent" }, | |
{ "keys": ["super+shift+v"], "command": "paste" } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sublime Text 2 has a "Paste and Indent" menu item (⌘⇧V) which automatically applies correct indentation to pasted text (like pasting in TextMate).
You can effectively make smart-pasting the default by swapping the ST2 keybindings for "Paste" and "Paste and Indent." Go to Preferences > Key Bindings - User or from the Command Palette (⌘⇧P) type "key bindings."