How to disable the indentation dotted line in VS 2010

Toggle it on/off with: Edit > Advanced > View white space The default hotkey is usually ctrl+E,S (I think this is for General or C# developer settings) If you use Resharper, you may find you need to use ctrl+R,ctrl+W (this may also apply for C++ developer settings) (Note that the hotkey may be different for … Read more

Remove/Add Line Breaks after Specific String using Sublime Text

Here’s how you’d do it on a Mac: Command+F > type string > Control+Command+G > ESC > Right Arrow > line break and Windows/Linux (untested): Control+F > type string > Alt+F3 > ESC > Right Arrow > line break The important part being Control+Command+G to select all matches. Once you’ve selected the text you’re looking … Read more

How do I insert a linebreak where the cursor is without entering into insert mode in Vim?

For the example you’ve given, you could use rEnter to replace a single character (the space) with Enter. Then, fspace. to move forward to the next space and repeat the last command. Depending on your autoindent settings, the above may or may not indent the return statement properly. If not, then use sEnterTabEsc instead to … Read more