Last Updated: February 25, 2016
·
937
· pierre-o

Quick sublime tip - how to paste and indent?

This one is sweet!

⌘⇧V

Enjoy \o/

If you want to replace normal paste, edit your profile with Preferences > Key Bindings - User or from the Command Palette (⌘⇧P) type "key bindings." and then :

// swap the keybindings for paste and paste_and_indent
{ "keys": ["super+v"], "command": "paste_and_indent" },
{ "keys": ["super+shift+v"], "command": "paste" }

From https://gist.github.com/twosixcode/1988097