How to indent code. And vim.
Main question:
Suppose there's a block of code I want to indent. How do I accomplish this without placing the cursor on each individual line and pressing tab for each line?
Auxiliary question:
Also, does anyone know if there's a vim/vi editor plugin that works with the Visual Basic IDE (I'm using the IDE that comes when you click on "Tools | Visual Basic" from an Excel spreadsheet.)
If there's no vi/vim plugin for this IDE, is it possible to write one? Where would be a good place to start reading on how to write such a thing?
Thanks!
Re: How to indent code. And vim.
1. Select code.
2. Press Tab to indent/Shift+Tab to unindent.
Re: How to indent code. And vim.