23 ms·
It sounds like Paste and Indent is what you're after: Command+Shift+V, or some users prefer to just bind this to Command+V, a la TextMate.
by jskinner 14y ago
It sounds like Paste and Indent is what you're after: Command+Shift+V, or some users prefer to just bind this to Command+V, a la TextMate.
- obituary_latte 14y agoI love you edit: if anyone is curious, Preferences > Key Bindings > Default [edit: should use User as noted below] ctrl+f paste, and change { "keys": ["super+v"], "command": "paste" }, { "keys": ["super+shift+v"], "command": "paste_and_indent" }, to { "keys": ["super+shift+v"], "command": "paste" }, { "keys": ["super+v"], "command": "paste_and_indent" },
- demetris 14y agoEven better, put that in Preferences, Key Bindings, User. Using the user file has two advantages: First, you avoid mishaps when some future version makes changes to the default bindings file. Second, you can quickly check what are your non-default settings.
- obituary_latte 14y agoDuly noted. Thanks!
- Sottilde 14y agoKeep in mind that updating Sublime will revert this file. Add the bottom two lines to your Preferences > Key Bindings > User file if you want to keep them. This goes for all preferences files in Sublime. Any declarations in the User file overrides Default settings, and Default settings are overwritten on any upgrade. This caveat has bitten me quite a few times with my packages in Package Control.
- nicholassmith 14y agoYour sir, are a gent and a scholar. I've been using Sublime primarily for a few months and the awesome keeps on coming.