3 ms·
It's not a pain if you use an editor which lets you indent a whole block of code at once; e.g., in vim, use shift-V to select lines of code, then >> or << to in
by andreasvc 12y ago
It's not a pain if you use an editor which lets you indent a whole block of code at once; e.g., in vim, use shift-V to select lines of code, then >> or << to in- or dedent. This is handy for all programming languages, of course.
- Symmetry 12y agoHaving groups of lines with the same indentation act as text objects helps too. http://vim.wikia.com/wiki/Indent_text_object http://vim.wikia.com/wiki/Indent_text_object