Use "Paste & Indent" for ⌘V in Sublime Text
Use Paste and Indent for ⌘V instead of the standard 'Paste'. This adjusts your indentation to automatically match the context it's pasted in. To do this, put the following in your Key Bindings - User
file:
[
{ "keys": ["super+v"], "command": "paste_and_indent" },
{ "keys": ["super+shift+v"], "command": "paste" }
]
Written by Chris Jones
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Sublime-text
Authors
Related Tags
#sublime-text
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#