Change paste to paste and indent in sublime text 2/3

Change paste to paste and indent in sublime text 2/3:

Go to Sublime's menu -> preferences -> 'Key Bindings' -> edit the user preference file to add the below:

[
    { "keys": ["ctrl+shift+v"], "command": "paste" },
    { "keys": ["ctrl+v"], "command": "paste_and_indent" }
]

This will turn ctrl+v to paste and indent instead of the default paste.

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.