I just noticed something quite funny. I often have to intend multiple lines (blocks, whatever) of code because I added for example an if-condition somewhere in my code or something like that. Now you could intend every single line manually which is quite a big pain when the new block is quite long.
VIM has a very nice alternative: Simply select the block you want to intend in the visual mode (hit “v” then select the lines with your cursor keys) and then hit “>” to intend the whole selection :-) This also works the other way around with “<” ;-)
Do you want to give me feedback about this article in private? Please send it to comments@zerokspot.com.
Alternatively, this website also supports Webmentions. If you write a post on a blog that supports this technique, I should get notified about your link π