// swap the keybindings for paste and paste_and_indent | |
{ "keys": ["super+v"], "command": "paste_and_indent" }, | |
{ "keys": ["super+shift+v"], "command": "paste" } |
This comment has been minimized.
This comment has been minimized.
Nice! |
This comment has been minimized.
This comment has been minimized.
Thank you so much! |
This comment has been minimized.
This comment has been minimized.
|
This comment has been minimized.
This comment has been minimized.
This is grand! Thanks. |
This comment has been minimized.
This comment has been minimized.
Thanks! |
This comment has been minimized.
This comment has been minimized.
Cheers! for windows: { "keys": ["ctrl+v"], "command": "paste_and_indent" }, |
This comment has been minimized.
This comment has been minimized.
Huge thanks for this. |
This comment has been minimized.
This comment has been minimized.
Great! |
This comment has been minimized.
This comment has been minimized.
sublime just got so much better |
This comment has been minimized.
This comment has been minimized.
Wow, can't thank you enough for this one |
This comment has been minimized.
This comment has been minimized.
Wheee! |
This comment has been minimized.
This comment has been minimized.
Good |
This comment has been minimized.
This comment has been minimized.
Thanks!! |
This comment has been minimized.
This comment has been minimized.
Thank you! |
This comment has been minimized.
This comment has been minimized.
Nice. |
This comment has been minimized.
This comment has been minimized.
Sweet! |
This comment has been minimized.
This comment has been minimized.
Brilliant of you. |
This comment has been minimized.
This comment has been minimized.
O yeah! Thank ya :) |
This comment has been minimized.
This comment has been minimized.
yess |
This comment has been minimized.
This comment has been minimized.
Puh leeeeeeeeeaaassse |
This comment has been minimized.
This comment has been minimized.
you are amazing! |
This comment has been minimized.
This comment has been minimized.
OMG! #yearswasted |
This comment has been minimized.
This comment has been minimized.
This one is awesome ! |
This comment has been minimized.
This comment has been minimized.
I love you so much. This has been X_#&_#($#ing me off since I switched to Sublime Text two days ago. <3 <3 <3 Spose I should read sublimtext's manual or something - didn't even know the feature existed lol. |
This comment has been minimized.
This comment has been minimized.
Thank you so much! I never even realized Sublime Text had a "Paste and Indent" command. |
This comment has been minimized.
This comment has been minimized.
pray @twosixcode |
This comment has been minimized.
This comment has been minimized.
Really wish this was default. Cheers for this! |
This comment has been minimized.
This comment has been minimized.
Thanks so much. Too many wasted hours correcting this manually. Definitely should be default! can't think of very many cases when a developer(or at least myself) would really want just a regular paste |
This comment has been minimized.
This comment has been minimized.
Thanks! This is exactly what I needed. |
This comment has been minimized.
This comment has been minimized.
Thanks for this and thanks to @zerodburn for the specific Windows settings at https://gist.github.com/twosixcode/1988097#comment-778005 |
This comment has been minimized.
This comment has been minimized.
Thanks! |
This comment has been minimized.
This comment has been minimized.
Awesome Tip! Tweeted it. Thanks! |
This comment has been minimized.
This comment has been minimized.
Thank you! Here, have a |
This comment has been minimized.
This comment has been minimized.
Ah, nice one! Note/Reminder for Linux & Windows users: use »CTRL« instead of »Super« (OS X) of course
|
This comment has been minimized.
This comment has been minimized.
Thanks! |
This comment has been minimized.
This comment has been minimized.
obviously. should have done this sooner. This is so much win. |
This comment has been minimized.
This comment has been minimized.
|
This comment has been minimized.
This comment has been minimized.
really weird decision not make this a default behaviour. |
This comment has been minimized.
This comment has been minimized.
Thanks a lot! This should definitely be the default setting. |
This comment has been minimized.
This comment has been minimized.
I have probably wasted an entire week of my life manually indenting. Didn't even know what paste and indent was until today. What a relief! |
This comment has been minimized.
This comment has been minimized.
wow, why didn't they teach us that in school :'( |
This comment has been minimized.
This comment has been minimized.
Awesome |
This comment has been minimized.
This comment has been minimized.
Been bugging me for over a year... this afternoon finally decided to do something about it and found this. Thanks! |
This comment has been minimized.
This comment has been minimized.
Nice!!! |
This comment has been minimized.
This comment has been minimized.
Greatest thing since sliced bread! |
This comment has been minimized.
This comment has been minimized.
Who knew!!! |
This comment has been minimized.
This comment has been minimized.
Save my day thanks. |
This comment has been minimized.
This comment has been minimized.
Two thumbs up!! |
This comment has been minimized.
This comment has been minimized.
|
This comment has been minimized.
This comment has been minimized.
Thank you! |
This comment has been minimized.
This comment has been minimized.
Any chance on replacing: |
This comment has been minimized.
This comment has been minimized.
|
This comment has been minimized.
This comment has been minimized.
|
This comment has been minimized.
This comment has been minimized.
|
This comment has been minimized.
This comment has been minimized.
Dude, you are the King of Town! |
This comment has been minimized.
This comment has been minimized.
Love it |
This comment has been minimized.
This comment has been minimized.
|
This comment has been minimized.
This comment has been minimized.
Super Siked !! Works with Sublime Version 3.1.1, Build 3176 |
This comment has been minimized.
This comment has been minimized.
Thanks! |
This comment has been minimized.
This comment has been minimized.
This changed my life. I already use
|
This comment has been minimized.
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."
http://www.sublimetext.com/forum/viewtopic.php?f=4&t=5511#p24379